chore: various fixes
This commit is contained in:
parent
d787b8517e
commit
6dae5d647a
3 changed files with 14 additions and 12 deletions
|
|
@ -126,7 +126,7 @@ function Modal({ parameters, isOpen, setIsOpen }: Properties) {
|
|||
</Dialog.Description>
|
||||
) : undefined}
|
||||
{parameters.children ? (
|
||||
<div className='mt-12 w-full'>
|
||||
<div className='w-full mt-4'>
|
||||
{parameters.children}
|
||||
</div>
|
||||
) : undefined}
|
||||
|
|
@ -134,8 +134,7 @@ function Modal({ parameters, isOpen, setIsOpen }: Properties) {
|
|||
variant='emphasized'
|
||||
type='submit'
|
||||
className={clsx(
|
||||
'w-full',
|
||||
parameters.children ? 'mt-4' : 'mt-12',
|
||||
'w-full mt-12',
|
||||
parameters.variant === 'danger'
|
||||
? 'bg-red-800 dark:bg-red-500 focus:ring-red-500 dark:focus:ring-red-500'
|
||||
: ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue