mirror of
https://github.com/Redocly/redoc.git
synced 2025-07-12 01:02:25 +03:00
slightly adapt style
This commit is contained in:
parent
38e6fd6c38
commit
7a59f57afd
|
@ -63,6 +63,13 @@ export const RightPanel = styled.div`
|
||||||
padding: ${props =>
|
padding: ${props =>
|
||||||
`${props.theme.spacing.sectionVertical}px ${props.theme.spacing.sectionHorizontal}px`};
|
`${props.theme.spacing.sectionVertical}px ${props.theme.spacing.sectionHorizontal}px`};
|
||||||
`};
|
`};
|
||||||
|
${media.lessThan('small', true)`
|
||||||
|
width: 100%;
|
||||||
|
padding: ${props =>
|
||||||
|
`${props.theme.spacing.sectionVertical / 2}px ${
|
||||||
|
props.theme.spacing.sectionHorizontal / 2
|
||||||
|
}px`};
|
||||||
|
`};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const DarkRightPanel = styled(RightPanel)`
|
export const DarkRightPanel = styled(RightPanel)`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user