mirror of
https://github.com/apache/superset.git
synced 2024-09-16 02:29:39 -04:00
chore: Update font-sizes in QueryPreviewModal (#19620)
* Remove hacky font-sizes * Remove hacky font-size SavedQueryPreviewModal
This commit is contained in:
parent
d49fd01ff3
commit
03a80d5d2f
@ -30,14 +30,14 @@ import { QueryObject } from 'src/views/CRUD/types';
|
|||||||
|
|
||||||
const QueryTitle = styled.div`
|
const QueryTitle = styled.div`
|
||||||
color: ${({ theme }) => theme.colors.secondary.light2};
|
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;
|
margin-bottom: 0;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const QueryLabel = styled.div`
|
const QueryLabel = styled.div`
|
||||||
color: ${({ theme }) => theme.colors.grayscale.dark2};
|
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;
|
padding: 4px 0 24px 0;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
@ -28,14 +28,14 @@ import { useQueryPreviewState } from 'src/views/CRUD/data/hooks';
|
|||||||
|
|
||||||
const QueryTitle = styled.div`
|
const QueryTitle = styled.div`
|
||||||
color: ${({ theme }) => theme.colors.secondary.light2};
|
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;
|
margin-bottom: 0;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const QueryLabel = styled.div`
|
const QueryLabel = styled.div`
|
||||||
color: ${({ theme }) => theme.colors.grayscale.dark2};
|
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;
|
padding: 4px 0 16px 0;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user