This is an automated email from the ASF dual-hosted git repository.
diegopucci pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 03a80d5d2f chore: Update font-sizes in QueryPreviewModal (#19620)
03a80d5d2f is described below
commit 03a80d5d2f4b4f2a066721f3aec1207c652c6186
Author: Geido <[email protected]>
AuthorDate: Mon Apr 11 16:45:09 2022 +0300
chore: Update font-sizes in QueryPreviewModal (#19620)
* Remove hacky font-sizes
* Remove hacky font-size SavedQueryPreviewModal
---
superset-frontend/src/views/CRUD/data/query/QueryPreviewModal.tsx | 4 ++--
.../src/views/CRUD/data/savedquery/SavedQueryPreviewModal.tsx | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
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;
`;