Remove the max-w from tags in the sidebar

This commit is contained in:
Thomas R. Koll 2025-11-17 13:21:34 +01:00
parent 4de8712cb0
commit 174e8b3dbd
No known key found for this signature in database
GPG key ID: 974BBA72BF22A024

View file

@ -78,7 +78,7 @@ const TagsSection = observer((props: Props) => {
onClick={() => handleTagClick(tag)}
>
<HashIcon className="w-4 h-auto shrink-0" />
<div className="inline-flex flex-nowrap ml-0.5 gap-0.5 max-w-[calc(100%-16px)]">
<div className="inline-flex flex-nowrap ml-0.5 gap-0.5 max-w-[calc(100%-1em)]">
<span className={cn("truncate", isActive ? "font-medium" : "")}>{tag}</span>
{amount > 1 && <span className="opacity-60 shrink-0">({amount})</span>}
</div>