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

Close the drawer when page content is touched. Fixes #69

This commit is contained in:
Toby Zerner
2015-05-11 11:03:40 +09:30
parent ac29ecaffe
commit 4fd61e2466
2 changed files with 13 additions and 3 deletions

View File

@@ -344,6 +344,12 @@ body {
.drawer-open & {
margin-left: @drawer-width;
// Disable all interaction with the content when the drawer is open. When
// .global-content is touched, the drawer will be closed.
& * {
pointer-events: none;
}
}
}
}