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