diff --git a/src/components/ha-slider.ts b/src/components/ha-slider.ts index a96778edac..f9a43a0b8c 100644 --- a/src/components/ha-slider.ts +++ b/src/components/ha-slider.ts @@ -59,6 +59,17 @@ export class HaSlider extends Slider { background-color: var(--ha-slider-thumb-color, var(--primary-color)); } + #thumb:after { + content: ""; + border-radius: 50%; + position: absolute; + width: calc(var(--thumb-width) * 2 + 8px); + height: calc(var(--thumb-height) * 2 + 8px); + left: calc(-50% - 4px); + top: calc(-50% - 4px); + cursor: pointer; + } + #slider:focus-visible:not(.disabled) #thumb, #slider:focus-visible:not(.disabled) #thumb-min, #slider:focus-visible:not(.disabled) #thumb-max {