mobile: limit tag to single line only

This commit is contained in:
Ammar Ahmed
2026-06-01 12:43:41 +05:00
parent b2088ef782
commit 4e4d3866df

View File

@@ -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();