mirror of
https://github.com/usememos/memos.git
synced 2025-12-16 21:59:25 +08:00
Merge 174e8b3dbd into 4668c4714b
This commit is contained in:
commit
d73565b434
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,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