fix: resolve css issues with button icons

This commit is contained in:
Aarnav Tale 2025-01-06 08:39:15 +05:30
parent 328302cd81
commit 888c1a5fb6
No known key found for this signature in database
3 changed files with 3 additions and 2 deletions

View File

@ -34,6 +34,7 @@ export default function Add({ magic }: Props) {
method="POST" method="POST"
onSubmit={(event) => { onSubmit={(event) => {
submit(event.currentTarget); submit(event.currentTarget);
setUsername('');
}} }}
> >
<input type="hidden" name="_method" value="create" /> <input type="hidden" name="_method" value="create" />

View File

@ -19,7 +19,7 @@ export default function Remove({ username }: Props) {
<Button <Button
variant="light" variant="light"
control={dialogState} control={dialogState}
className="rounded-full p-0 w-8 h-8" className="rounded-full p-0 w-8 h-8 flex items-center justify-center"
> >
<XIcon className="w-4 h-4" /> <XIcon className="w-4 h-4" />
</Button> </Button>

View File

@ -21,7 +21,7 @@ export default function Rename({ username, magic }: Props) {
<Button <Button
variant="light" variant="light"
control={dialogState} control={dialogState}
className="rounded-full p-0 w-8 h-8" className="rounded-full p-0 w-8 h-8 flex items-center justify-center"
> >
<PencilIcon className="w-4 h-4" /> <PencilIcon className="w-4 h-4" />
</Button> </Button>