mirror of
https://github.com/usememos/memos.git
synced 2025-12-11 14:46:03 +08:00
Remove the max-w from tags in the sidebar
This commit is contained in:
parent
4de8712cb0
commit
174e8b3dbd
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue