summaryrefslogtreecommitdiff
path: root/crates/wipfel/www
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-28 08:24:03 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-28 08:24:03 +0100
commit5b0da20a5a2c14060d8f41c7f096778f621c01bc (patch)
tree883c82f7c9768779b3c8f1d2715a7d50c08dc28c /crates/wipfel/www
parent4626a87f1815e998dfdd25e6d3826726bc912ca2 (diff)
web: usability pass — panel state, conditional buttons, track placement, hover distance
- control panel starts open on all screen sizes (so the image picker is reachable on phones); it auto-collapses on narrow screens once an image is loaded - 'Fit to window' and the whole Track section only appear when an image is loaded - Track section moved directly below Display, above the pinned info texts (which now carry the margin-top: auto) - hover readout shows the distance to the peak in km, matching the desktop format 'name · height m · dist km'
Diffstat (limited to 'crates/wipfel/www')
-rw-r--r--crates/wipfel/www/style.css3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/wipfel/www/style.css b/crates/wipfel/www/style.css
index 79e2dee..120aa8e 100644
--- a/crates/wipfel/www/style.css
+++ b/crates/wipfel/www/style.css
@@ -147,7 +147,8 @@ body {
display: none;
}
/* pin the optional track section to the bottom of the control pane */
-.track-section {
+.infofoot {
+ /* pins the info texts to the bottom of the sidebar */
margin-top: auto;
}
.main {