Fix a regression where it is hard to close the menu on mobile

This commit is contained in:
Yorin Anne De Jong 2018-02-13 17:00:01 +01:00
parent c12f38f133
commit 53af8dae44
1 changed files with 5 additions and 1 deletions

View File

@ -33,6 +33,7 @@ nav {
right: 0;
height: 3em;
display: table;
white-space: nowrap;
}
nav #menu, nav #login {
display: table-cell;
@ -135,12 +136,15 @@ nav #usermenu:target {
display: block;
}
nav #menu_toggle, nav #menu:target li.active a {
nav #menu_toggle {
display: block;
top: 0;
left: 0;
right: 0;
}
nav #menu:target li.active {
right: 0;
}
nav #menu_toggle {
text-align: center;
}