Fix missing padding on overflowing dialogs

This commit is contained in:
DaneEveritt 2022-07-10 14:52:57 -04:00
parent 7558c0380e
commit edbbe520a7
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -88,7 +88,7 @@ export default ({
variants={variants} variants={variants}
className={styles.panel} className={styles.panel}
> >
<div className={'flex p-6 overflow-y-auto'}> <div className={'flex p-6 pb-0 overflow-y-auto'}>
{iconPosition === 'container' && icon} {iconPosition === 'container' && icon}
<div className={'flex-1 max-h-[70vh]'}> <div className={'flex-1 max-h-[70vh]'}>
<div className={'flex items-center'}> <div className={'flex items-center'}>
@ -103,6 +103,7 @@ export default ({
</div> </div>
</div> </div>
{children} {children}
<div className={'invisible h-6'} />
</div> </div>
</div> </div>
{footer} {footer}