Skip to content

Commit

Permalink
[ES|QL] Adds a box-shadow to suggested metric vis
Browse files Browse the repository at this point in the history
  • Loading branch information
stratoula committed Jan 15, 2024
1 parent e49aee0 commit 88b3193
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/plugins/unified_histogram/public/chart/histogram.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ export function Histogram({
});

const { euiTheme } = useEuiTheme();
const boxShadow = `0 2px 2px -1px ${euiTheme.colors.mediumShade},
0 1px 5px -2px ${euiTheme.colors.mediumShade}`;
const chartCss = css`
position: relative;
flex-grow: 1;
Expand All @@ -195,6 +197,7 @@ export function Histogram({
& .lnsExpressionRenderer {
width: ${chartSize};
margin: auto;
box-shadow: ${attributes.visualizationType === 'lnsMetric' ? boxShadow : 'none'};
}
& .echLegend .echLegendList {
Expand Down

0 comments on commit 88b3193

Please sign in to comment.