refactor: change font size to em

This commit is contained in:
Oleksiy Kachynskyy 2020-04-08 10:24:19 +03:00
parent af08fd57b3
commit 30a9a3f2f9
2 changed files with 2 additions and 4 deletions

View File

@ -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};

View File

@ -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};