mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +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  Signed-off-by: andreas-unleash <andreas@getunleash.ai>
This commit is contained in:
		
							parent
							
								
									ce468dcdce
								
							
						
					
					
						commit
						579b08be27
					
				@ -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;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user