chore: Update font-sizes in QueryPreviewModal (#19620)

* Remove hacky font-sizes

* Remove hacky font-size SavedQueryPreviewModal
This commit is contained in:
Geido 2022-04-11 16:45:09 +03:00 committed by GitHub
parent d49fd01ff3
commit 03a80d5d2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -30,14 +30,14 @@ import { QueryObject } from 'src/views/CRUD/types';
const QueryTitle = styled.div`
color: ${({ theme }) => theme.colors.secondary.light2};
font-size: ${({ theme }) => theme.typography.sizes.s - 1}px;
font-size: ${({ theme }) => theme.typography.sizes.s}px;
margin-bottom: 0;
text-transform: uppercase;
`;
const QueryLabel = styled.div`
color: ${({ theme }) => theme.colors.grayscale.dark2};
font-size: ${({ theme }) => theme.typography.sizes.m - 1}px;
font-size: ${({ theme }) => theme.typography.sizes.m}px;
padding: 4px 0 24px 0;
`;

View File

@ -28,14 +28,14 @@ import { useQueryPreviewState } from 'src/views/CRUD/data/hooks';
const QueryTitle = styled.div`
color: ${({ theme }) => theme.colors.secondary.light2};
font-size: ${({ theme }) => theme.typography.sizes.s - 1}px;
font-size: ${({ theme }) => theme.typography.sizes.s}px;
margin-bottom: 0;
text-transform: uppercase;
`;
const QueryLabel = styled.div`
color: ${({ theme }) => theme.colors.grayscale.dark2};
font-size: ${({ theme }) => theme.typography.sizes.m - 1}px;
font-size: ${({ theme }) => theme.typography.sizes.m}px;
padding: 4px 0 16px 0;
`;