Skip to content

Commit

Permalink
[Data Explorer] Fix darkmode for histogram (opensearch-project#4858)
Browse files Browse the repository at this point in the history
* fix darkmode for histogram

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>

* changelog

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>

* remove changelog

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>

---------

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
  • Loading branch information
abbyhu2000 authored Aug 31, 2023
1 parent 7faa088 commit 89013da
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
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;
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
* SPDX-License-Identifier: Apache-2.0
*/

import './_histogram.scss';

import React, { useCallback } from 'react';
import moment from 'moment';
import dateMath from '@elastic/datemath';
Expand Down

0 comments on commit 89013da

Please sign in to comment.