fix .card partially hidden behind .navbar on phones in landscape mode
This commit is contained in:
1 parent
5a7dc3ba84
commit
e352a15ce8
1 file changed
+13
+13
@@ -425,6 +425,19 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Phone-Landscape: schmaler, hoher Karteninhalt –
|
||||||
|
* einzeilige Navbar (~106px) freihalten.
|
||||||
|
*/
|
||||||
|
@media (orientation: landscape) and (max-height: 500px) {
|
||||||
|
body {
|
||||||
|
padding-top: 120px;
|
||||||
|
/* min-height gilt für die Content-Box: Navbar-Freiraum
|
||||||
|
* abziehen, sonst sitzt die Karte unter der Mitte */
|
||||||
|
min-height: calc(100vh - 120px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@keyframes spin {
|
@keyframes spin {
|
||||||
to {
|
to {
|
||||||
transform: rotate(360deg);
|
transform: rotate(360deg);
|
||||||
|
|||||||
Reference in new issue
Block a user