mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-07-10 04:21:21 +02:00
mobile: limit tag to single line only
This commit is contained in:
@@ -113,13 +113,19 @@ function Tags(props: { settings: Settings; loading?: boolean }) {
|
||||
backgroundColor:
|
||||
index !== 0 ? "transparent" : "var(--nn_secondary_background)",
|
||||
borderRadius: 6,
|
||||
padding: "4px 4px",
|
||||
padding: "2px 4px",
|
||||
height: "25px",
|
||||
fontFamily: "Inter",
|
||||
fontSize: 12,
|
||||
color: "var(--nn_primary_icon)",
|
||||
userSelect: "none",
|
||||
WebkitUserSelect: "none",
|
||||
textAlign: "left"
|
||||
textAlign: "left",
|
||||
maxWidth: 150,
|
||||
textOverflow: "ellipsis",
|
||||
overflow: "hidden",
|
||||
wordWrap: "break-word",
|
||||
whiteSpace: "nowrap"
|
||||
}}
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user