From 52fedda62936ff8eacac6ef33d3df86463aac3a4 Mon Sep 17 00:00:00 2001
From: Lee Rowlands <lee.rowlands@previousnext.com.au>
Date: Mon, 24 Aug 2020 11:14:11 +1000
Subject: [PATCH] Issue #3070375 by lauriii, sacarney: Hidden buttons in
 off-canvas dialog are not being hidden

---
 core/modules/system/css/components/js.module.css        | 2 +-
 core/themes/stable/css/system/components/js.module.css  | 2 +-
 core/themes/stable9/css/system/components/js.module.css | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/core/modules/system/css/components/js.module.css b/core/modules/system/css/components/js.module.css
index f827020326da..ca3c739b3a3d 100644
--- a/core/modules/system/css/components/js.module.css
+++ b/core/modules/system/css/components/js.module.css
@@ -8,7 +8,7 @@
  * that you can use the JS to control visibility and avoid flicker.
  */
 .js .js-hide {
-  display: none;
+  display: none !important;
 }
 
 /**
diff --git a/core/themes/stable/css/system/components/js.module.css b/core/themes/stable/css/system/components/js.module.css
index f827020326da..ca3c739b3a3d 100644
--- a/core/themes/stable/css/system/components/js.module.css
+++ b/core/themes/stable/css/system/components/js.module.css
@@ -8,7 +8,7 @@
  * that you can use the JS to control visibility and avoid flicker.
  */
 .js .js-hide {
-  display: none;
+  display: none !important;
 }
 
 /**
diff --git a/core/themes/stable9/css/system/components/js.module.css b/core/themes/stable9/css/system/components/js.module.css
index f827020326da..ca3c739b3a3d 100644
--- a/core/themes/stable9/css/system/components/js.module.css
+++ b/core/themes/stable9/css/system/components/js.module.css
@@ -8,7 +8,7 @@
  * that you can use the JS to control visibility and avoid flicker.
  */
 .js .js-hide {
-  display: none;
+  display: none !important;
 }
 
 /**
-- 
GitLab