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 d693f4e970 Update font-sizes (#19593)
d693f4e970 is described below
commit d693f4e9700e932a29cb51583b26e10793aeab17
Author: Geido <[email protected]>
AuthorDate: Mon Apr 11 16:46:06 2022 +0300
Update font-sizes (#19593)
---
superset-frontend/src/components/ReportModal/styles.tsx | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/superset-frontend/src/components/ReportModal/styles.tsx
b/superset-frontend/src/components/ReportModal/styles.tsx
index b37939b4fe..f9edf3736d 100644
--- a/superset-frontend/src/components/ReportModal/styles.tsx
+++ b/superset-frontend/src/components/ReportModal/styles.tsx
@@ -33,7 +33,7 @@ export const StyledTopSection = styled.div`
padding: ${({ theme }) =>
`${theme.gridUnit * 3}px ${theme.gridUnit * 4}px ${theme.gridUnit * 2}px`};
label {
- font-size: ${({ theme }) => theme.typography.sizes.s - 1}px;
+ font-size: ${({ theme }) => theme.typography.sizes.s}px;
color: ${({ theme }) => theme.colors.grayscale.light1};
}
`;
@@ -46,7 +46,7 @@ export const StyledBottomSection = styled.div`
width: 100%;
}
.control-label {
- font-size: ${({ theme }) => theme.typography.sizes.s - 1}px;
+ font-size: ${({ theme }) => theme.typography.sizes.s}px;
color: ${({ theme }) => theme.colors.grayscale.light1};
}
`;
@@ -113,15 +113,15 @@ export const antDErrorAlertStyles = (theme:
SupersetTheme) => css`
margin: ${theme.gridUnit * 8}px ${theme.gridUnit * 4}px;
color: ${theme.colors.error.dark2};
.ant-alert-message {
- font-size: ${theme.typography.sizes.s + 1}px;
+ font-size: ${theme.typography.sizes.m}px;
font-weight: bold;
}
.ant-alert-description {
- font-size: ${theme.typography.sizes.s + 1}px;
+ font-size: ${theme.typography.sizes.m}px;
line-height: ${theme.gridUnit * 4}px;
.ant-alert-icon {
margin-right: ${theme.gridUnit * 2.5}px;
- font-size: ${theme.typography.sizes.l + 1}px;
+ font-size: ${theme.typography.sizes.l}px;
position: relative;
top: ${theme.gridUnit / 4}px;
}