Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: switch to compact ui for tag items

Abdullah Atta435a358c4cb3
diff --git a/apps/web/src/components/tag/index.js b/apps/web/src/components/tag/index.js
index 3695a77c8..dba5480d8 100644
--- a/apps/web/src/components/tag/index.js
+++ b/apps/web/src/components/tag/index.js
@@ -71,12 +71,13 @@ function Tag({ item, index }) {
return (
<ListItem
item={item}
+ isCompact
selectable={false}
index={index}
title={<TagNode title={alias} />}
footer={
<Text mt={1} variant="subBody">
- {noteIds.length} notes
+ {noteIds.length}
</Text>
}
menu={{ items: menuItems, extraData: { tag: item } }}
@@ -90,7 +91,7 @@ export default Tag;
function TagNode({ title }) {
return (
- <Text as="span" variant="title">
+ <Text as="span">
<Text as="span" sx={{ color: "primary" }}>
{"#"}
</Text>