mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-08 06:04:56 +03:00
refactor: change font size to em
This commit is contained in:
parent
af08fd57b3
commit
30a9a3f2f9
|
@ -31,9 +31,8 @@ export class CallbacksList extends React.PureComponent<CallbacksListProps> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: get font size from the theme?
|
|
||||||
const CallbacksHeader = styled.h3`
|
const CallbacksHeader = styled.h3`
|
||||||
font-size: 18px;
|
font-size: 1.3em;
|
||||||
padding: 0.2em 0;
|
padding: 0.2em 0;
|
||||||
margin: 3em 0 1.1em;
|
margin: 3em 0 1.1em;
|
||||||
color: ${({ theme }) => theme.colors.text.primary};
|
color: ${({ theme }) => theme.colors.text.primary};
|
||||||
|
|
|
@ -3,9 +3,8 @@ import { ResponseModel } from '../../services/models';
|
||||||
import styled from '../../styled-components';
|
import styled from '../../styled-components';
|
||||||
import { ResponseView } from './Response';
|
import { ResponseView } from './Response';
|
||||||
|
|
||||||
// TODO: get font size from the theme?
|
|
||||||
const ResponsesHeader = styled.h3`
|
const ResponsesHeader = styled.h3`
|
||||||
font-size: 18px;
|
font-size: 1.3em;
|
||||||
padding: 0.2em 0;
|
padding: 0.2em 0;
|
||||||
margin: 3em 0 1.1em;
|
margin: 3em 0 1.1em;
|
||||||
color: ${({ theme }) => theme.colors.text.primary};
|
color: ${({ theme }) => theme.colors.text.primary};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user