diff options
author | justju <33963037+justju@users.noreply.github.com> | 2018-07-25 05:00:34 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2018-07-25 05:00:34 +0300 |
commit | e7654615854c2dd2ffa6890a482509a698530c1d (patch) | |
tree | 1ea5e34829de18450d9f2e6ce9193e57c0bc0c19 /plugins/CoreHome/templates | |
parent | 95dbe14165c4b86aadec619721aae9d5dfa28e0a (diff) |
Hide Mobile Sidebar on desktop site (#13135)
* Add hide-on-large-only class to the mobile-top-menu. This class is also used for the mobile-left-menu. This prevents the mobile-top-menu from briefly being shown in the desktop version, when clicking the invisible 10px area on the right side.
* Add 'hide-on-large-only'-like media query to Materialize's 'drag-target' class. This prevents the leftmost 10px and rightmost 10px from being unclickable on the desktop version.'
Diffstat (limited to 'plugins/CoreHome/templates')
-rw-r--r-- | plugins/CoreHome/templates/_topBar.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreHome/templates/_topBar.twig b/plugins/CoreHome/templates/_topBar.twig index f284d8a282..f722e74ffc 100644 --- a/plugins/CoreHome/templates/_topBar.twig +++ b/plugins/CoreHome/templates/_topBar.twig @@ -31,7 +31,7 @@ {% endfor %} {% endspaceless %} </ul> -<ul class="side-nav" id="mobile-top-menu"> +<ul class="side-nav hide-on-large-only" id="mobile-top-menu"> {% for label,menu in topMenu %} <li role="menuitem" class="{{ _self.isActiveItem(menu, topMenuModule, topMenuAction) }}" >{{ _self.topMenuItem(label, '', menu) }}</li> |