From 772ae77ab0ef15ded0857966eaafe93123c3a41d Mon Sep 17 00:00:00 2001 From: Grace Guo Date: Wed, 29 Aug 2018 12:01:41 -0700 Subject: [PATCH] [dashboard] Update font style for markdown component (#5722) --- .../dashboard/stylesheets/components/markdown.less | 11 +++++++++++ .../assets/src/dashboard/stylesheets/variables.less | 1 + 2 files changed, 12 insertions(+) diff --git a/superset/assets/src/dashboard/stylesheets/components/markdown.less b/superset/assets/src/dashboard/stylesheets/components/markdown.less index 87974d9ac6..44deeea20d 100644 --- a/superset/assets/src/dashboard/stylesheets/components/markdown.less +++ b/superset/assets/src/dashboard/stylesheets/components/markdown.less @@ -1,6 +1,17 @@ .dashboard-markdown { overflow: hidden; + h4, h5 { + font-weight: 300; + } + h5 { + color: @gray-heading; + } + h6 { + font-weight: 400; + font-size: 12px; + } + .dashboard-component-chart-holder { overflow-y: auto; overflow-x: hidden; diff --git a/superset/assets/src/dashboard/stylesheets/variables.less b/superset/assets/src/dashboard/stylesheets/variables.less index 8f53f99a8a..c062c57928 100644 --- a/superset/assets/src/dashboard/stylesheets/variables.less +++ b/superset/assets/src/dashboard/stylesheets/variables.less @@ -5,6 +5,7 @@ @gray: #879399; @gray-light: #CFD8DC; @gray-bg: #f5f5f5; +@gray-heading: #A3A3A3; @menu-hover: #F2F3F5; /* builder component pane */