From d57f022243850b532239ae08dd75717f55415fbf Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Wed, 28 Oct 2026 08:29:08 +0100 Subject: web: move hover peak info below the Track section MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Appearing between Display and Track it pushed the whole Track block down on every hover. As the last item before the bottom-pinned info texts the flexible spacer absorbs it — nothing jumps anymore. --- crates/wipfel/src/app.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'crates/wipfel/src') diff --git a/crates/wipfel/src/app.rs b/crates/wipfel/src/app.rs index 466ccc7..38c220e 100644 --- a/crates/wipfel/src/app.rs +++ b/crates/wipfel/src/app.rs @@ -1002,9 +1002,6 @@ pub fn app() -> Html { if !fit_info.is_empty() {

{ (*fit_info).clone() }

} - if let Some(h) = hover.as_ref() { -

{ h.clone() }

- }
{ "Track" }
if !track.is_empty() { @@ -1012,6 +1009,12 @@ pub fn app() -> Html { value={*track_width} min={50.0} max={1000.0} step={10.0} onchange={on_track_width} /> } + // last so revealing it on hover cannot shift any + // control above it (the bottom-pinned infofoot + // absorbs the height change) + if let Some(h) = hover.as_ref() { +

{ h.clone() }

+ } }
-- cgit v1.2.3