From 5e3ae990c6d8d2206ac072185ed0f0af2797c188 Mon Sep 17 00:00:00 2001 From: Wassup789 Date: Sat, 30 Apr 2016 01:04:38 -0700 Subject: [PATCH] Fixed menu button invisible menu If the menu has been activated (i.e. the user has clicked on the triple dot button), when the menu is closed, the div still exists (invisible) and the user cannot click on anything where the menu popup was. --- css/main.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/css/main.css b/css/main.css index 5b722d9..daa1921 100644 --- a/css/main.css +++ b/css/main.css @@ -51,7 +51,11 @@ a, .link{ top: 12px; right: 16px; } -#button-menu-container .mdl-menu__container {margin-top: -30px;} +#button-menu-container .mdl-menu__container { + margin-top: -30px; + pointer-events: none; +} +#button-menu-container .mdl-menu__container.is-visible {pointer-events: auto;} #menu_changeAlignment[data-toggle="false"]:after {content: "__MSG_settings_vertSettings_channelAlignment__";} #menu_changeAlignment[data-toggle="true"]:after {content: "__MSG_settings_vertSettings_channelAlignment2__";} .mdl-layout.is-upgraded .mdl-layout__tab.is-active::after {background: #FFEB3B;}