0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Fixed footer padding bug in AdminX modals (#18249)

refs. https://github.com/TryGhost/Product/issues/3349
This commit is contained in:
Peter Zimon 2023-09-20 15:49:24 +03:00 committed by GitHub
parent 0b07c44797
commit 97cbd33159
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -308,7 +308,7 @@ const Modal: React.FC<ModalProps> = ({
);
footerClasses = clsx(
`${paddingClasses} ${stickyFooter ? 'py-6' : 'pt-0'}`,
`${paddingClasses} ${stickyFooter ? 'py-6' : ''}`,
'flex w-full items-center justify-between'
);

View file

@ -109,7 +109,7 @@ const ZapierModal = NiceModal.create(() => {
title='Zapier'
/>
<List className='-mb-8'>
<List>
{zapierTemplates.map(template => (
<ListItem
action={<Button className='whitespace-nowrap text-sm font-semibold text-[#FF4A00]' href={template.url} label='Use this Zap' tag='a' target='_blank' link unstyled />}