1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

fix: UI improvements on CR reorder strategy (#4375)

- make the blocks that hold the constraints full width
- remove the margin-top and margin-bottom from the parent div + increase
the gap: 20px on this parent div
- remove the margin-bottom from the constraints containers
- add the strategies in a div and add a margin-bottom: 8px

![Screenshot 2023-07-31 at 15 05
51](https://github.com/Unleash/unleash/assets/104830839/68c32324-99c3-4fab-99f0-bde1bf2b43e7)

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
This commit is contained in:
andreas-unleash 2023-07-31 16:25:06 +03:00 committed by GitHub
parent ce468dcdce
commit 579b08be27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,16 +25,15 @@ const StyledStrategyExecutionWrapper = styled(Box)(({ theme }) => ({
flexDirection: 'column',
justifyContent: 'space-between',
alignItems: 'flex-start',
marginBottom: theme.spacing(2),
marginTop: theme.spacing(2),
lineHeight: theme.spacing(3),
gap: theme.spacing(1),
gap: theme.spacing(2.5),
marginBottom: theme.spacing(1),
}));
const StyledStrategyContainer = styled('div')(({ theme }) => ({
const StyledStrategyContainer = styled('div')({
flexDirection: 'row',
marginBottom: theme.spacing(2),
}));
width: '100%',
});
interface IEnvironmentStrategyExecutionOrderProps {
feature: string;