mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	fix: revert overflow hidden in section, unset in modal (#3364)
This reverts and adapts https://github.com/Unleash/unleash/pull/3307/files#r1135784293 - Apparently it broke the form border radius when not in modal mode. This change makes it so that we have `overflow: hidden` in most cases but `overflow: unset` when using `FormTemplate` as a modal, effectively covering both use cases. Normal:  Modal (`position: sticky` header in variants still works correctly): 
This commit is contained in:
		
							parent
							
								
									f70b33d324
								
							
						
					
					
						commit
						6c697615dc
					
				@ -36,6 +36,7 @@ const StyledContainer = styled('section', {
 | 
			
		||||
    width: '100%',
 | 
			
		||||
    display: 'flex',
 | 
			
		||||
    margin: '0 auto',
 | 
			
		||||
    overflow: modal ? 'unset' : 'hidden',
 | 
			
		||||
    [theme.breakpoints.down(1100)]: {
 | 
			
		||||
        flexDirection: 'column',
 | 
			
		||||
        minHeight: 0,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user