You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by di...@apache.org on 2022/04/12 13:11:05 UTC

[superset] branch master updated: chore: Remove wrong usage of font-size in ExploreViewContainer (#19614)

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 7b0b029318 chore: Remove wrong usage of font-size in ExploreViewContainer (#19614)
7b0b029318 is described below

commit 7b0b029318a4cd6da7bbc54a79390c61322ded95
Author: Geido <60...@users.noreply.github.com>
AuthorDate: Tue Apr 12 16:10:58 2022 +0300

    chore: Remove wrong usage of font-size in ExploreViewContainer (#19614)
    
    * Remove hacky usage of font-size
    
    * Update font
---
 .../src/explore/components/ExploreViewContainer/index.jsx           | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/superset-frontend/src/explore/components/ExploreViewContainer/index.jsx b/superset-frontend/src/explore/components/ExploreViewContainer/index.jsx
index 57437ea99f..d789b350aa 100644
--- a/superset-frontend/src/explore/components/ExploreViewContainer/index.jsx
+++ b/superset-frontend/src/explore/components/ExploreViewContainer/index.jsx
@@ -151,9 +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 * 4};
+        font-size: ${theme.typography.sizes.s}px;
       }
     }
     .no-show {
@@ -613,7 +611,7 @@ function ExploreViewContainer(props) {
           }
         >
           <div className="title-container">
-            <span className="horizont al-text">{t('Dataset')}</span>
+            <span className="horizontal-text">{t('Dataset')}</span>
             <span
               role="button"
               tabIndex={0}