-
Notifications
You must be signed in to change notification settings - Fork 916
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Data Explorer] Fix darkmode for histogram (#4858)
* fix darkmode for histogram Signed-off-by: abbyhu2000 <[email protected]> * changelog Signed-off-by: abbyhu2000 <[email protected]> * remove changelog Signed-off-by: abbyhu2000 <[email protected]> --------- Signed-off-by: abbyhu2000 <[email protected]>
- Loading branch information
1 parent
7faa088
commit 89013da
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
src/plugins/discover/public/application/components/chart/_histogram.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.dscHistogram__header--partial { | ||
font-weight: $euiFontWeightRegular; | ||
min-width: $euiSize * 12; | ||
} | ||
|
||
// Temporary override to inlined styles provided by ElasticCharts theming | ||
// Will be unnecessary when we migrate the histogram to a different rendering library: | ||
// https: //github.com/opensearch-project/OpenSearch-Dashboards/issues/4643 | ||
.dscHistogram .echChartBackground { | ||
background-color: inherit !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters