Skip to content

Commit 38d4627

Browse files
committed
Remove the max-w from tags in the sidebar
1 parent 4de8712 commit 38d4627

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/components/MemoExplorer/TagsSection.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ const TagsSection = observer((props: Props) => {
7878
onClick={() => handleTagClick(tag)}
7979
>
8080
<HashIcon className="w-4 h-auto shrink-0" />
81-
<div className="inline-flex flex-nowrap ml-0.5 gap-0.5 max-w-[calc(100%-16px)]">
82-
<span className={cn("truncate", isActive ? "font-medium" : "")}>{tag}</span>
81+
<div className="inline-flex flex-nowrap ml-0.5 gap-0.5 max-w-[calc(100% - 1em)]">
82+
<span className={cn(isActive ? "font-medium" : "")}>{tag}</span>
8383
{amount > 1 && <span className="opacity-60 shrink-0">({amount})</span>}
8484
</div>
8585
</div>

0 commit comments

Comments
 (0)