From 22c1f230b31c8535ec7de9f05966d999b7574565 Mon Sep 17 00:00:00 2001 From: Tammo ter Hark Date: Mon, 30 Nov 2026 09:00:39 +0100 Subject: [PATCH] =?UTF-8?q?feat(slider):=20row=20215=20=E2=80=94=20hide=20?= =?UTF-8?q?the=20value=20tooltip=20on=20untouched=20sliders?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Core hides the slider tooltip via jQuery .hide() only when no default position is set; with slider_default_set an untouched slider keeps a visible tooltip (and the slider-touched class — see BUG_REPORT_slider_touched_class_unreliable_with_default_set.md). While the slider-is-untouched class (row 214) is set, also hide .slider .tooltip. No !important on purpose: on touch core sets an inline display via .show(), which wins over this rule, so the tooltip reappears exactly when the slider is touched. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- css/custom.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/css/custom.css b/css/custom.css index c1ece71..05ef886 100644 --- a/css/custom.css +++ b/css/custom.css @@ -39,4 +39,13 @@ .slider-item.slider-is-untouched .slider-selection { background: transparent; box-shadow: none; +} + +/* row 215: while untouched, also hide the value tooltip — core only does that + (jQuery .hide()) when no default position is set; with slider_default_set + the tooltip stays visible on an untouched slider. No !important on purpose: + on touch core sets an inline display via .show(), which wins over this rule + (and slider-is-untouched is removed anyway). */ +.slider-item.slider-is-untouched .slider .tooltip { + display: none; } \ No newline at end of file