Phones have a tendency to be really fucking tall these days

This commit is contained in:
Quad 2020-07-23 09:58:44 +02:00
parent 1a6d5350c0
commit 225a553017
1 changed files with 3 additions and 2 deletions

View File

@ -73,17 +73,18 @@ a:hover {
overflow-y: auto;
}
/* Less top padding and more max height for mobile displays */
@media only screen and (max-device-width: 600px), only screen and (max-device-height: 800px) {
#content {
margin-top: 2vh;
}
#main-container {
max-height: 70vh;
max-height: 80vh;
}
#page {
max-height: calc(50vh - 40px);
max-height: calc(60vh - 40px);
}
}