chore: fix tag selector position

This commit is contained in:
Steven 2024-01-11 21:36:22 +08:00
parent d626de1875
commit a1dda913c3
2 changed files with 1 additions and 2 deletions

View file

@ -29,7 +29,7 @@ const TagSelector = (props: Props) => {
size="sm"
>
<Icon.Hash className="w-5 h-5 mx-auto" />
<div className="hidden flex-row justify-start items-start flex-wrap absolute top-8 left-0 mt-1 p-1 z-1 rounded w-52 h-auto max-h-48 overflow-y-auto font-mono shadow bg-zinc-100 dark:bg-zinc-700 group-hover:flex">
<div className="hidden flex-row justify-start items-start flex-wrap absolute top-7 left-0 mt-1 p-1 z-1 rounded w-52 h-auto max-h-48 overflow-y-auto font-mono shadow bg-zinc-100 dark:bg-zinc-700 group-hover:flex">
{tags.length > 0 ? (
tags.map((tag) => {
return (

View file

@ -21,7 +21,6 @@ export const useMemoStore = create(
for (const memo of memos) {
memoMap[memo.id] = memo;
}
console.log("memos", memos);
set({ memoMapById: memoMap });
return memos;
},