Skip to content

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

mobile: fix long tag name does not wrap properly in editor

Ammar Ahmedb2088ef78246
diff --git a/packages/editor-mobile/src/components/tags.tsx b/packages/editor-mobile/src/components/tags.tsx
index be97f528d..b08d30561 100644
--- a/packages/editor-mobile/src/components/tags.tsx
+++ b/packages/editor-mobile/src/components/tags.tsx
@@ -113,13 +113,13 @@ function Tags(props: { settings: Settings; loading?: boolean }) {
backgroundColor:
index !== 0 ? "transparent" : "var(--nn_secondary_background)",
borderRadius: 6,
- padding: "0px 4px",
- height: "24px",
+ padding: "4px 4px",
fontFamily: "Inter",
fontSize: 12,
color: "var(--nn_primary_icon)",
userSelect: "none",
- WebkitUserSelect: "none"
+ WebkitUserSelect: "none",
+ textAlign: "left"
}}
onClick={(e) => {
e.preventDefault();