Fix a regression where it is hard to close the menu on mobile
This commit is contained in:
parent
c12f38f133
commit
53af8dae44
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue