Skip to content

Commit

Permalink
[dashboard] Update font style for markdown component (apache#5722)
Browse files Browse the repository at this point in the history
  • Loading branch information
Grace Guo authored and williaster committed Aug 29, 2018
1 parent d5d5927 commit 772ae77
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions superset/assets/src/dashboard/stylesheets/components/markdown.less
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
1 change: 1 addition & 0 deletions superset/assets/src/dashboard/stylesheets/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
@gray: #879399;
@gray-light: #CFD8DC;
@gray-bg: #f5f5f5;
@gray-heading: #A3A3A3;
@menu-hover: #F2F3F5;

/* builder component pane */
Expand Down

0 comments on commit 772ae77

Please sign in to comment.