fixed UI bug

This commit is contained in:
daniel31x13 2023-10-23 01:55:44 -04:00
parent bcae97a296
commit 697b139493
4 changed files with 4 additions and 4 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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