1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 13:40:20 +02:00

[A11Y] Fix nav drawer being focusable when off-screen on small viewports (#2666)

* Fix nav drawer being focusable when off-screen on small viewports

Fixes #2565

* Implement review suggestions

* Format
This commit is contained in:
David Wheatley
2021-03-18 21:38:32 +00:00
committed by GitHub
parent 59fdd7628a
commit 0cc12aed95
2 changed files with 21 additions and 1 deletions

View File

@@ -123,6 +123,9 @@
// the left side of the screen. On other devices, the drawer has no specific
// appearance.
@media @phone {
.App:not(.drawerOpen) .App-drawer {
visibility: hidden;
}
.drawerOpen {
overflow: hidden;
}