fix mobile safari menu layout

Add extra bottom margin because mobile Safari displays a bottom bar hiding parts of the menu.

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
main
Michael Weimann 4 years ago committed by Igor Scheller
parent 5102f88a7f
commit c1a5a8d50b

@ -411,6 +411,8 @@ span.ref-id[id] {
max-height: unset; max-height: unset;
left: 101%; left: 101%;
top: @navbar-height + 1; top: @navbar-height + 1;
// extra padding because mobile Safari displays a bottom bar hiding parts of the menu
padding-bottom: 75px;
transition: left .3s ease-in-out; transition: left .3s ease-in-out;
-webkit-transition: left .3s ease-in-out; -webkit-transition: left .3s ease-in-out;
@ -434,6 +436,7 @@ span.ref-id[id] {
.nav > li.active { .nav > li.active {
display: none; display: none;
} }
.caret { .caret {
float: right; float: right;
margin-top: 7px; margin-top: 7px;

Loading…
Cancel
Save