chore: consistent modal footer spacing (#19377)

This commit is contained in:
Daniel Dietzler
2025-06-20 20:05:39 +02:00
committed by GitHub
parent 1dc8fa2979
commit a5d84ba552
22 changed files with 69 additions and 67 deletions

View File

@@ -9,6 +9,7 @@
Button,
Field,
HelperText,
HStack,
Input,
Modal,
ModalBody,
@@ -131,10 +132,11 @@
</ModalBody>
<ModalFooter>
<div class="flex gap-3 w-full">
<HStack fullWidth>
<Button color="secondary" fullWidth onclick={() => onClose()} shape="round">{$t('cancel')}</Button>
<Button type="submit" disabled={!valid} fullWidth shape="round" form="create-new-user-form">{$t('create')}</Button
>
</div>
<Button type="submit" disabled={!valid} fullWidth shape="round" form="create-new-user-form"
>{$t('create')}
</Button>
</HStack>
</ModalFooter>
</Modal>