mirror of
https://github.com/tale/headplane.git
synced 2026-09-04 19:25:43 +00:00
fix: resolve css issues with button icons
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user