a more robust way to make sure .card is not glued to bottom in any orientation

This commit is contained in:
stefan.tollkuehn committed 2026-10-07 17:16:57 +02:00
1 parent 344ecdf820
commit 226edd8c48
1 file changed
+8 -2
+8 -2
View File
@@ -324,7 +324,14 @@ button, .button {
body { body {
/* Navbar ist hier einzeilig */ /* Navbar ist hier einzeilig */
padding-top: 80px; padding-top: 80px;
min-height: calc(100vh - 80px); /*
* Padding statt margin-bottom an der Karte:
* Ränder am Scroll-Ende werden vom Scrollbereich
* nicht erfasst, Padding schon.
*/
padding-bottom: 10px;
/* 80px Navbar + 10px unten abziehen */
min-height: calc(100vh - 90px);
} }
.navbar { .navbar {
@@ -345,7 +352,6 @@ button, .button {
.card { .card {
padding: 20px; padding: 20px;
margin-bottom: 10px;
} }
button.nav-toggle { button.nav-toggle {