styles: constraint tags width

This commit is contained in:
Antonella Sgarlatta
2021-05-27 11:18:46 -03:00
parent a384abcce2
commit d255057cba
2 changed files with 15 additions and 1 deletions

View File

@@ -35,7 +35,9 @@ const NoteTags = observer(({ application, appState }: Props) => {
}}
>
<Icon type="hashtag" className="sn-icon--small color-neutral mr-1" />
{tag.title}
<span className="max-w-md whitespace-nowrap overflow-hidden overflow-ellipsis">
{tag.title}
</span>
</button>
))}
<AutocompleteTagInput application={application} appState={appState} lastTagRef={lastTagRef} />