From ec442601ebbc714e27fab10d31ccfa69ca930145 Mon Sep 17 00:00:00 2001 From: Daniel Andrei Date: Tue, 9 Apr 2019 08:59:17 +0300 Subject: [PATCH] Fix preferences not opening when window width < 700px (#841) Messenger sets `display:none` on the settings container through a media query. We're overwriting this using `visibility:hidden` instead so we can open the menu. --- css/browser.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/css/browser.css b/css/browser.css index 2f015d37c..437287e2d 100644 --- a/css/browser.css +++ b/css/browser.css @@ -91,8 +91,11 @@ html.hide-dropdowns .uiContextualLayerPositioner { } /* Hide settings icon */ -._30yy._2fug._p { +._4kzu { visibility: hidden !important; + display: block !important; + width: 0 !important; + height: 0 !important; } /* Hide title */