Skip to content

Commit

Permalink
[APM] Bug: Service overview - Sparkline loading state icons has chang…
Browse files Browse the repository at this point in the history
…ed (#91884)

* adjusting icon size

* Updating color
  • Loading branch information
cauemarcondes committed Feb 19, 2021
1 parent d6984ca commit 99a60ca
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,16 @@ export function SparkPlot({
<EuiFlexGroup gutterSize="m" responsive={false}>
<EuiFlexItem grow={false}>
{!series || series.every((point) => point.y === null) ? (
<EuiIcon type="visLine" color="subdued" style={chartSize} />
<div
style={{
...chartSize,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
}}
>
<EuiIcon type="visLine" color={theme.eui.euiColorMediumShade} />
</div>
) : (
<Chart size={chartSize}>
<Settings
Expand Down

0 comments on commit 99a60ca

Please sign in to comment.