diff options
Diffstat (limited to 'crates/wipfel')
| -rw-r--r-- | crates/wipfel/src/app.rs | 9 |
1 files changed, 6 insertions, 3 deletions
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() { <p class="fitinfo">{ (*fit_info).clone() }</p> } - if let Some(h) = hover.as_ref() { - <p class="hover">{ h.clone() }</p> - } <div class="section">{ "Track" }</div> <button onclick={open_track_picker}>{ "Load GPX Trackā¦" }</button> 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() { + <p class="hover">{ h.clone() }</p> + } </> } <div class="infofoot"> |
