fixed UI bug
This commit is contained in:
parent
bcae97a296
commit
697b139493
|
@ -152,7 +152,7 @@ export default function CollectionCard({ collection, className }: Props) {
|
||||||
if (target.id !== "expand-dropdown" + collection.id)
|
if (target.id !== "expand-dropdown" + collection.id)
|
||||||
setExpandDropdown(false);
|
setExpandDropdown(false);
|
||||||
}}
|
}}
|
||||||
className="absolute top-[3.2rem] right-5 z-10"
|
className="absolute top-[3.2rem] right-5 z-10 w-fit"
|
||||||
/>
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -240,7 +240,7 @@ export default function LinkCard({ link, count, className }: Props) {
|
||||||
if (target.id !== "expand-dropdown" + link.id)
|
if (target.id !== "expand-dropdown" + link.id)
|
||||||
setExpandDropdown(false);
|
setExpandDropdown(false);
|
||||||
}}
|
}}
|
||||||
className="absolute top-12 right-5 w-36"
|
className="absolute top-12 right-5 w-fit"
|
||||||
/>
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -220,7 +220,7 @@ export default function Index() {
|
||||||
if (target.id !== "expand-dropdown")
|
if (target.id !== "expand-dropdown")
|
||||||
setExpandDropdown(false);
|
setExpandDropdown(false);
|
||||||
}}
|
}}
|
||||||
className="absolute top-8 right-0 z-10 w-40"
|
className="absolute top-8 right-0 z-10 w-fit"
|
||||||
/>
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -93,7 +93,7 @@ export default function Index() {
|
||||||
/>
|
/>
|
||||||
{renameTag ? (
|
{renameTag ? (
|
||||||
<>
|
<>
|
||||||
<form onSubmit={submit} className="flex items-end gap-2">
|
<form onSubmit={submit} className="flex items-center gap-2">
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
autoFocus
|
autoFocus
|
||||||
|
|
Ŝarĝante…
Reference in New Issue