1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-09 00:18:00 +01:00

chore: fix release template strategy padding and spacing (#9104)

This commit is contained in:
David Leek 2025-01-16 09:13:22 +01:00 committed by GitHub
parent d20af9e5de
commit 846dae66bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,10 +35,17 @@ const StyledCancelButton = styled(Button)(({ theme }) => ({
marginLeft: theme.spacing(3), marginLeft: theme.spacing(3),
})); }));
const StyledButtonContainer = styled('div')(() => ({ const StyledButtonContainer = styled('div')(({ theme }) => ({
marginTop: 'auto', marginTop: 'auto',
display: 'flex', display: 'flex',
justifyContent: 'flex-end', justifyContent: 'flex-end',
gap: theme.spacing(1),
paddingTop: theme.spacing(3),
paddingRight: theme.spacing(6),
paddingLeft: theme.spacing(6),
paddingBottom: theme.spacing(6),
backgroundColor: theme.palette.background.paper,
borderTop: `1px solid ${theme.palette.divider}`,
})); }));
const StyledHeaderBox = styled(Box)(({ theme }) => ({ const StyledHeaderBox = styled(Box)(({ theme }) => ({
@ -234,6 +241,7 @@ export const ReleasePlanTemplateAddStrategyForm = ({
return ( return (
<FormTemplate <FormTemplate
modal modal
disablePadding
description={featureStrategyHelp} description={featureStrategyHelp}
documentationLink={featureStrategyDocsLink} documentationLink={featureStrategyDocsLink}
documentationLinkLabel={featureStrategyDocsLinkLabel} documentationLinkLabel={featureStrategyDocsLinkLabel}