From c2d58c4099d14015f74a7730f0eead93d0a39130 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Preben=20Rather=20S=C3=B8rensen?= Date: Wed, 6 Apr 2022 22:15:22 +0200 Subject: [PATCH] [BUGFIX] Support CSS SVG mask on on Chrome (bootstrap-5) (#272) The -webkit-mask-image is a solution according to this: https://stackoverflow.com/questions/44100139/css-mask-not-working-on-chrome-webkit Tested in Brave Browser (Version 1.37.111 Chromium: 100.0.4896.79) and Chromium (v85.0.4154.0) --- Resources/Public/Themes/bootstrap5-modal/cookieman-theme.css | 1 + 1 file changed, 1 insertion(+) diff --git a/Resources/Public/Themes/bootstrap5-modal/cookieman-theme.css b/Resources/Public/Themes/bootstrap5-modal/cookieman-theme.css index 9b54c9d9..c2ef0a17 100644 --- a/Resources/Public/Themes/bootstrap5-modal/cookieman-theme.css +++ b/Resources/Public/Themes/bootstrap5-modal/cookieman-theme.css @@ -11,6 +11,7 @@ content: ''; /* mask-image allows to use the background-color */ mask-image: url("data:image/svg+xml,"); + -webkit-mask-image: url("data:image/svg+xml,"); background-color: white; background-size: 1.25em; background-repeat: no-repeat;