Slider: Fixes styling of marker dots (#52678)

This commit is contained in:
Torkel Ödegaard 2022-07-24 18:34:27 +02:00 committed by GitHub
parent 973be23908
commit f9d8b68543
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,10 +48,16 @@ export const getStyles = stylesFactory((theme: GrafanaTheme2, isHorizontal: bool
.rc-slider-handle:hover,
.rc-slider-handle:active,
.rc-slider-handle:focus,
.rc-slider-handle-click-focused:focus,
.rc-slider-dot-active {
.rc-slider-handle-click-focused:focus {
${hoverSyle};
}
.rc-slider-dot,
.rc-slider-dot-active {
background-color: ${theme.colors.text.primary};
border-color: ${theme.colors.text.primary};
}
.rc-slider-track {
background-color: ${trackColor};
}