From 7c5354ab5abbdd7b421c93d0aedb2aa69e9436f4 Mon Sep 17 00:00:00 2001 From: Lauri Eskola Date: Sat, 28 Oct 2023 13:39:47 +0300 Subject: Issue #3397121 by longwave: Upgrade postcss-preset-env and stylelint --- core/misc/dialog/off-canvas/css/utility.css | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'core/misc/dialog') diff --git a/core/misc/dialog/off-canvas/css/utility.css b/core/misc/dialog/off-canvas/css/utility.css index bbba90845d2..e6bb8e91562 100644 --- a/core/misc/dialog/off-canvas/css/utility.css +++ b/core/misc/dialog/off-canvas/css/utility.css @@ -18,25 +18,19 @@ #drupal-off-canvas-wrapper .visually-hidden { position: absolute !important; - width: 1px !important; - height: 1px !important; -} - -#drupal-off-canvas-wrapper .visually-hidden { overflow: hidden; clip: rect(1px, 1px, 1px, 1px); + width: 1px !important; + height: 1px !important; word-wrap: normal; } #drupal-off-canvas-wrapper .visually-hidden.focusable:is(:active, :focus) { position: static !important; - width: auto !important; - height: auto !important; -} - -#drupal-off-canvas-wrapper .visually-hidden.focusable:is(:active, :focus) { overflow: visible; clip: auto; + width: auto !important; + height: auto !important; } #drupal-off-canvas-wrapper .invisible { -- cgit v1.2.3