Skip to content

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

use variable width for tags on note item

ammarahm-ede39e2b4fdbaf
diff --git a/apps/mobile/src/components/NoteItem/index.js b/apps/mobile/src/components/NoteItem/index.js
index b0b5fa394..8d7bcf236 100644
--- a/apps/mobile/src/components/NoteItem/index.js
+++ b/apps/mobile/src/components/NoteItem/index.js
@@ -245,7 +245,7 @@ const NoteItem = ({item, isTrash, tags}) => {
paddingHorizontal: 2,
marginRight: 4,
zIndex: 10,
- maxWidth: 120
+ maxWidth:tags?.slice(0, 3)?.length > 1 ? 130 : null
}}
onPress={() => navigateToTag(item)}
/>