diff --git a/web/css/mrbs.css.php b/web/css/mrbs.css.php index 73a3ad89ea..ac8b8ce913 100644 --- a/web/css/mrbs.css.php +++ b/web/css/mrbs.css.php @@ -152,10 +152,7 @@ .minicalendars.formed { display: flex; - flex-wrap: wrap; justify-content: center; - max-height: 18em; - overflow: hidden; margin-right: 0; } @@ -200,6 +197,7 @@ .index :not(.simple) + .contents { display: -ms-flexbox; display: flex; + overflow-y: hidden; } .view_container { @@ -207,6 +205,9 @@ flex-grow: 1; width: 100%; overflow-x: auto; + overflow-y: hidden; + display: flex; + flex-direction: column; } img { @@ -727,6 +728,13 @@ /* ------------ INDEX.PHP ------------------*/ +body.index { + max-height: 100vh; + display: flex; + flex-direction: column; + overflow-y: hidden; +} + .date_nav { float: left; width: 100%; @@ -766,18 +774,43 @@ .table_container { overflow: auto; position: relative; + margin: 1em 0; +} + + +@media screen and (max-height: 50rem), screen and (max-width: 30rem) { + body.index { + max-height: none; + overflow-y: visible; + } + + .index :not(.simple) + .contents { + overflow-y: visible; + } + + .view_container { + overflow-y: visible; + } + + .table_container { - max-height: calc(100vh - 4em); + max-height: calc(100vh - 4em); - max-height: max(calc(100vh - 4em), 8em); - margin: 1em 0; + max-height: max(calc(100vh - 4em), 8em); + } } div.timeline {