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