mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-27 11:02:16 +01:00
fix: spacing
This commit is contained in:
parent
ebf604f353
commit
9dd3336a04
@ -146,7 +146,15 @@ const StyledHeaderBox = styled(Box)(({ theme }) => ({
|
||||
paddingLeft: theme.spacing(6),
|
||||
paddingRight: theme.spacing(6),
|
||||
paddingTop: theme.spacing(2),
|
||||
paddingBottom: theme.spacing(2),
|
||||
}));
|
||||
|
||||
const StyledAlertBox = styled(Box)(({ theme }) => ({
|
||||
paddingLeft: theme.spacing(6),
|
||||
paddingRight: theme.spacing(6),
|
||||
'& > *': {
|
||||
marginTop: theme.spacing(2),
|
||||
marginBottom: theme.spacing(2),
|
||||
},
|
||||
}));
|
||||
|
||||
const StyledEnvironmentBox = styled(Box)(({ theme }) => ({
|
||||
@ -375,6 +383,7 @@ export const NewFeatureStrategyForm = ({
|
||||
) : null}
|
||||
</StyledHeaderBox>
|
||||
|
||||
<StyledAlertBox>
|
||||
<ConditionallyRender
|
||||
condition={hasChangeRequestInReviewForEnvironment}
|
||||
show={alert}
|
||||
@ -399,21 +408,23 @@ export const NewFeatureStrategyForm = ({
|
||||
show={
|
||||
<Alert severity='success'>
|
||||
This feature toggle is currently enabled in the{' '}
|
||||
<strong>{environmentId}</strong> environment. Any
|
||||
changes made here will be available to users as soon
|
||||
as these changes are approved and applied.
|
||||
<strong>{environmentId}</strong> environment.
|
||||
Any changes made here will be available to users
|
||||
as soon as these changes are approved and
|
||||
applied.
|
||||
</Alert>
|
||||
}
|
||||
elseShow={
|
||||
<Alert severity='success'>
|
||||
This feature toggle is currently enabled in the{' '}
|
||||
<strong>{environmentId}</strong> environment. Any
|
||||
changes made here will be available to users as soon
|
||||
as you hit <strong>save</strong>.
|
||||
<strong>{environmentId}</strong> environment.
|
||||
Any changes made here will be available to users
|
||||
as soon as you hit <strong>save</strong>.
|
||||
</Alert>
|
||||
}
|
||||
/>
|
||||
</FeatureStrategyEnabled>
|
||||
</StyledAlertBox>
|
||||
|
||||
<StyledTabs value={tab} onChange={handleChange}>
|
||||
<StyledTab label='General' />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user