Commit f9b1df5d authored by johnnyjoy's avatar johnnyjoy

fix: tags container

parent d9a92b2e
...@@ -83,7 +83,7 @@ const MemoDetailSidebar = ({ memo, className, parentPage }: Props) => { ...@@ -83,7 +83,7 @@ const MemoDetailSidebar = ({ memo, className, parentPage }: Props) => {
</div> </div>
)} )}
{memo.tags.length > 0 && ( {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"> <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>{t("common.tags")}</span>
<span className="shrink-0">({memo.tags.length})</span> <span className="shrink-0">({memo.tags.length})</span>
...@@ -101,7 +101,7 @@ const MemoDetailSidebar = ({ memo, className, parentPage }: Props) => { ...@@ -101,7 +101,7 @@ const MemoDetailSidebar = ({ memo, className, parentPage }: Props) => {
</div> </div>
))} ))}
</div> </div>
</> </div>
)} )}
</div> </div>
</aside> </aside>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment