Skip to content

Commit

Permalink
fix: tags container
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyjoygh committed Jan 21, 2025
1 parent d9a92b2 commit f9b1df5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/components/MemoDetailSidebar/MemoDetailSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const MemoDetailSidebar = ({ memo, className, parentPage }: Props) => {
</div>
)}
{memo.tags.length > 0 && (
<>
<div className="w-full">
<div className="flex flex-row justify-start items-center w-full gap-1 mb-1 text-sm leading-6 text-gray-400 dark:text-gray-500 select-none">
<span>{t("common.tags")}</span>
<span className="shrink-0">({memo.tags.length})</span>
Expand All @@ -101,7 +101,7 @@ const MemoDetailSidebar = ({ memo, className, parentPage }: Props) => {
</div>
))}
</div>
</>
</div>
)}
</div>
</aside>
Expand Down

0 comments on commit f9b1df5

Please sign in to comment.