fix: results-width slider still showed the native OS control

appearance:none on the <input> alone didn't strip the native chrome
in every Chromium build — some keep ::-webkit-slider-runnable-track
styled natively unless that pseudo-element gets its own
appearance:none. Made the track's styling explicit there instead of
relying on it inheriting from the input.
This commit is contained in:
Horizontal42 2026-07-03 13:12:50 +03:00
parent ad8e1960d7
commit bb6b08f153

View file

@ -478,9 +478,17 @@ body {
width: 110px; width: 110px;
height: 4px; height: 4px;
border-radius: 2px; border-radius: 2px;
background: var(--border); background: transparent;
cursor: pointer; cursor: pointer;
} }
#settings-panel input[type="range"]::-webkit-slider-runnable-track {
-webkit-appearance: none;
appearance: none;
width: 100%;
height: 4px;
border-radius: 2px;
background: var(--border);
}
#settings-panel input[type="range"]::-webkit-slider-thumb { #settings-panel input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none; -webkit-appearance: none;
appearance: none; appearance: none;