diff --git a/superset-frontend/src/views/CRUD/data/query/QueryPreviewModal.tsx b/superset-frontend/src/views/CRUD/data/query/QueryPreviewModal.tsx index 397970e1b2..694b490557 100644 --- a/superset-frontend/src/views/CRUD/data/query/QueryPreviewModal.tsx +++ b/superset-frontend/src/views/CRUD/data/query/QueryPreviewModal.tsx @@ -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; `; diff --git a/superset-frontend/src/views/CRUD/data/savedquery/SavedQueryPreviewModal.tsx b/superset-frontend/src/views/CRUD/data/savedquery/SavedQueryPreviewModal.tsx index 883ce3b695..e8250d0fb7 100644 --- a/superset-frontend/src/views/CRUD/data/savedquery/SavedQueryPreviewModal.tsx +++ b/superset-frontend/src/views/CRUD/data/savedquery/SavedQueryPreviewModal.tsx @@ -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; `;