Skip to content

Commit

Permalink
Fix missing outline in Chromium-based browsers on Windows (#5427)
Browse files Browse the repository at this point in the history
  • Loading branch information
laske185 authored Oct 16, 2023
2 parents 40b71c6 + 9ad8ffd commit f275d04
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/components/src/components/input-range/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,10 @@ input[type='range']::-moz-range-thumb {
.error.hidden {
display: none;
}

/* Fix missing outline in Chromium-based browsers on Windows in high contrast mode. */
@media (prefers-contrast: more) {
::-webkit-slider-thumb {
outline: 1px solid currentColor;
}
}

0 comments on commit f275d04

Please sign in to comment.