From 86a2a075f470c2cb0f05f438097cf34bf36cdcac Mon Sep 17 00:00:00 2001 From: geido Date: Fri, 8 Apr 2022 11:34:39 +0000 Subject: [PATCH 1/2] Remove hacky usage of font-size --- .../src/explore/components/ExploreViewContainer/index.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/superset-frontend/src/explore/components/ExploreViewContainer/index.jsx b/superset-frontend/src/explore/components/ExploreViewContainer/index.jsx index 57437ea99f889..198f56fd2c348 100644 --- a/superset-frontend/src/explore/components/ExploreViewContainer/index.jsx +++ b/superset-frontend/src/explore/components/ExploreViewContainer/index.jsx @@ -153,7 +153,6 @@ const ExplorePanelContainer = styled.div` .horizontal-text { text-transform: uppercase; color: ${theme.colors.grayscale.light1}; - font-size: ${theme.typography.sizes.s * 4}; } } .no-show { @@ -613,7 +612,7 @@ function ExploreViewContainer(props) { } >
- {t('Dataset')} + {t('Dataset')} Date: Mon, 11 Apr 2022 14:21:33 +0000 Subject: [PATCH 2/2] Update font --- .../src/explore/components/ExploreViewContainer/index.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/superset-frontend/src/explore/components/ExploreViewContainer/index.jsx b/superset-frontend/src/explore/components/ExploreViewContainer/index.jsx index 198f56fd2c348..d789b350aab54 100644 --- a/superset-frontend/src/explore/components/ExploreViewContainer/index.jsx +++ b/superset-frontend/src/explore/components/ExploreViewContainer/index.jsx @@ -151,8 +151,7 @@ const ExplorePanelContainer = styled.div` padding: 0 ${theme.gridUnit * 4}px; justify-content: space-between; .horizontal-text { - text-transform: uppercase; - color: ${theme.colors.grayscale.light1}; + font-size: ${theme.typography.sizes.s}px; } } .no-show {