williaster closed pull request #5722: [dashboard] Update font style for
markdown heading
URL: https://github.com/apache/incubator-superset/pull/5722
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
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 */
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]