Skip to content

Commit

Permalink
[Controls] fix time slider play button display=fill property not bein…
Browse files Browse the repository at this point in the history
…g respected
  • Loading branch information
nreese committed Nov 16, 2022
1 parent db48448 commit d16e504
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/plugins/controls/public/time_slider/components/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
min-width: $euiSizeXXL * 15;
}

.timeSlider-playToggle {
background-color: $euiColorPrimary !important;
}

.timeSlider__anchor {
text-decoration: none;
width: 100%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export const TimeSliderPrepend: FC<Props> = (props: Props) => {
/>
{props.waitForControlOutputConsumersToLoad$ === undefined ? null : (
<EuiButtonIcon
className="timeSlider-playToggle"
onClick={isPaused ? onPlay : onPause}
iconType={isPaused ? 'playFilled' : 'pause'}
size="s"
Expand Down

0 comments on commit d16e504

Please sign in to comment.