Mobile-Fixes: Spiele scrollbar + FinalFlux-Hub Overlap/Menue
- MindMatch/TechTacular: Boards passten auf dem Handy nicht in 100vh
(iOS-Adressleiste) und die Seite war auf overflow:hidden gesperrt ->
untere Felder unerreichbar. Auf <=820px jetzt scrollbar (height:auto,
overflow-y:auto, 100dvh), Karten via aspect-ratio, Kacheln via min-height.
- FinalFlux-Hub: das generische `main {}` aus der Alt-style.css traf das
Hub-<main class="finalflux-main"> (display:flex; width:90%; margin:auto)
und verursachte Overlap + unerreichbares Themen-Menue. In .finalflux-main
neutralisiert; Shell stapelt auf Mobil als display:block, Sidebar volle Hoehe.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -70,6 +70,12 @@ body.finalflux-page {
|
||||
}
|
||||
|
||||
.finalflux-main {
|
||||
/* display/width/margin explizit, um das generische `main {}` aus style.css
|
||||
(display:flex; width:90%; margin:0 auto) zu neutralisieren -> sonst
|
||||
Überlappung/Fehllayout im Hub. */
|
||||
display: block;
|
||||
width: auto;
|
||||
margin: 0;
|
||||
padding: 2rem;
|
||||
max-width: 1100px;
|
||||
}
|
||||
@@ -315,11 +321,16 @@ body.finalflux-page {
|
||||
}
|
||||
|
||||
@media (max-width: 820px) {
|
||||
/* Block statt Grid -> Sidebar (Themen-Menü) und Inhalt stapeln sauber,
|
||||
keine Überlappung, volle Höhe scrollbar. */
|
||||
.finalflux-shell {
|
||||
grid-template-columns: 1fr;
|
||||
display: block;
|
||||
min-height: 100dvh;
|
||||
}
|
||||
|
||||
.finalflux-sidebar {
|
||||
overflow: visible;
|
||||
height: auto;
|
||||
border-right: 0;
|
||||
border-bottom: 1px solid var(--border-accent);
|
||||
}
|
||||
|
||||
@@ -349,3 +349,13 @@ body.mm-body {
|
||||
.mm-stat { font-size: 0.65rem; padding: 0.3rem 0.55rem; }
|
||||
.mm-stat b { font-size: 0.95rem; }
|
||||
}
|
||||
|
||||
/* Auf Touch/Handy darf gescrollt werden: das "alles passt ohne Scrollen"-Layout
|
||||
bricht bei 100vh (iOS-Adressleiste) und vielen Karten -> Brett ragt raus.
|
||||
Hier: Seite scrollbar, Karten bekommen feste Proportionen (aspect-ratio). */
|
||||
@media (max-width: 820px) {
|
||||
body.mm-body { height: auto; min-height: 100vh; min-height: 100dvh; overflow-y: auto; }
|
||||
.mm-stage { overflow: visible; }
|
||||
.mm-board { height: auto; grid-auto-rows: auto; }
|
||||
.mm-card { aspect-ratio: 3 / 4; }
|
||||
}
|
||||
|
||||
@@ -264,3 +264,13 @@ body.tt-body {
|
||||
.tt-stat { font-size: 0.62rem; padding: 0.3rem 0.5rem; }
|
||||
.tt-q-text { font-size: 1.05rem; }
|
||||
}
|
||||
|
||||
/* Auf Touch/Handy scrollbar: das "alles passt ohne Scrollen"-Layout bricht bei
|
||||
100vh (iOS-Adressleiste) und 5x5-Board -> untere Reihen (500) unerreichbar.
|
||||
Hier: Seite scrollbar, Kacheln mit fester Mindesthöhe statt flex-fill. */
|
||||
@media (max-width: 820px) {
|
||||
body.tt-body { height: auto; min-height: 100vh; min-height: 100dvh; overflow-y: auto; }
|
||||
.tt-stage { overflow: visible; }
|
||||
.tt-board { height: auto; }
|
||||
.tt-tile { flex: 0 0 auto; min-height: clamp(58px, 12vw, 86px); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user