mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-07 13:44:54 +03:00
fix: ie11 fix
This commit is contained in:
parent
6f6fe575e5
commit
c10decbbd5
|
@ -142,11 +142,18 @@ export const PropertiesTable = styled.table`
|
|||
|
||||
${media.lessThan('small')`
|
||||
display: block;
|
||||
> tr, > tbody, tr {
|
||||
> tr, > tbody > tr {
|
||||
display: block;
|
||||
}
|
||||
`}
|
||||
|
||||
${media.lessThan('small', false, ' and (-ms-high-contrast:none)')`
|
||||
td {
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
`}
|
||||
|
||||
&
|
||||
${InnerPropertiesWrap},
|
||||
&
|
||||
|
|
|
@ -85,7 +85,7 @@ export class SecurityRequirement extends React.PureComponent<SecurityRequirement
|
|||
}
|
||||
|
||||
const AuthHeaderColumn = styled.div`
|
||||
flex: 1;
|
||||
flex: 1 1 auto;
|
||||
`;
|
||||
|
||||
const SecuritiesColumn = styled.div`
|
||||
|
|
|
@ -13,10 +13,10 @@ const {
|
|||
} = styledComponents as styledComponents.ThemedStyledComponentsModule<ResolvedThemeInterface>;
|
||||
|
||||
export const media = {
|
||||
lessThan(breakpoint, print?: boolean) {
|
||||
lessThan(breakpoint, print?: boolean, extra?: string) {
|
||||
return (...args) => css`
|
||||
@media ${print ? 'print, ' : ''} screen and (max-width: ${props =>
|
||||
props.theme.breakpoints[breakpoint]}) {
|
||||
props.theme.breakpoints[breakpoint]})${extra || ''} {
|
||||
${(css as any)(...args)};
|
||||
}
|
||||
`;
|
||||
|
|
Loading…
Reference in New Issue
Block a user