fix: resolve css issues with button icons
This commit is contained in:
parent
328302cd81
commit
888c1a5fb6
@ -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" />
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user