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"
onSubmit={(event) => {
submit(event.currentTarget);
setUsername('');
}}
>
<input type="hidden" name="_method" value="create" />

View File

@ -19,7 +19,7 @@ export default function Remove({ username }: Props) {
<Button
variant="light"
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" />
</Button>

View File

@ -21,7 +21,7 @@ export default function Rename({ username, magic }: Props) {
<Button
variant="light"
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" />
</Button>