mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-10-31 15:57:30 +03:00 
			
		
		
		
	bring back section rule, as this could be solved better
This commit is contained in:
		
							parent
							
								
									2f34b8ebaf
								
							
						
					
					
						commit
						5addc21cd8
					
				|  | @ -129,7 +129,8 @@ export const MenuItemLabel = styled.label.attrs((props: MenuItemLabelType) => ({ | |||
|   color: ${props => (props.active ? props.theme.colors.primary.main : props.theme.menu.textColor)}; | ||||
|   margin: 0; | ||||
|   padding: 12.5px ${props => props.theme.spacing.unit * 4}px; | ||||
|   ${({ depth, theme }) => (depth > 1 && 'padding-left: ' + theme.spacing.unit * 8 + 'px;') || ''} | ||||
|   ${({ depth, type, theme }) => | ||||
|     (type === 'section' && depth > 1 && 'padding-left: ' + theme.spacing.unit * 8 + 'px;') || ''} | ||||
|   display: flex; | ||||
|   justify-content: space-between; | ||||
|   font-family: ${props => props.theme.typography.headings.fontFamily}; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user