mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-09 14:44:51 +03:00
Merge branch 'master' of https://github.com/raha1923/redoc
This commit is contained in:
commit
c3269fda17
|
@ -4,6 +4,8 @@ import styled, { media } from '../styled-components';
|
|||
export const MiddlePanel = styled.div`
|
||||
width: calc(100% - ${props => props.theme.rightPanel.width});
|
||||
padding: 0 ${props => props.theme.spacing.sectionHorizontal}px;
|
||||
direction: ${props => props.theme.typography.direction || 'ltr'};
|
||||
text-align: ${props => (props.theme.typography.direction === 'rtl') ? 'right' : 'inherit'};
|
||||
|
||||
${media.lessThan('medium', true)`
|
||||
width: 100%;
|
||||
|
|
|
@ -28,7 +28,15 @@ export const DownloadButton = styled.a`
|
|||
export const InfoSpan = styled.span`
|
||||
&::before {
|
||||
content: '|';
|
||||
display: inline-block;
|
||||
display: ${props => (props.theme.typography.direction === 'ltr') ? 'inline-block' : 'none'};
|
||||
opacity: 0.5;
|
||||
width: ${delimiterWidth}px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: '|';
|
||||
display: ${props => (props.theme.typography.direction === 'rtl') ? 'inline-block' : 'none'};
|
||||
opacity: 0.5;
|
||||
width: ${delimiterWidth}px;
|
||||
text-align: center;
|
||||
|
|
Loading…
Reference in New Issue
Block a user