mirror of
https://github.com/usememos/memos.git
synced 2025-01-31 17:48:12 +08:00
chore: fix tag selector position
This commit is contained in:
parent
d626de1875
commit
a1dda913c3
2 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue