Commit a1dda913 authored by Steven's avatar Steven

chore: fix tag selector position

parent d626de18
......@@ -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 (
......
......@@ -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;
},
......
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