From 0d7b6538eff0656bbcc1580155b18737be10c28b Mon Sep 17 00:00:00 2001 From: Alexander Bigga Date: Wed, 17 Jul 2024 09:37:23 +0200 Subject: [PATCH] Fix text-decoration of links in WordPress 6.6 (#671) --- sass/base/elements/_links.scss | 6 ++++++ sass/style.scss | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/sass/base/elements/_links.scss b/sass/base/elements/_links.scss index 7e8792f2..66ed45fa 100755 --- a/sass/base/elements/_links.scss +++ b/sass/base/elements/_links.scss @@ -31,4 +31,10 @@ a { &:active { outline: 0; } + +} + +// avoid link underline as of WordPress 6.6 +:root :where(a:where(:not(.wp-element-button))) { + text-decoration-line: none; } diff --git a/sass/style.scss b/sass/style.scss index 299e77a7..7cbc0053 100755 --- a/sass/style.scss +++ b/sass/style.scss @@ -5,7 +5,7 @@ Author: verdigado eG Author URI: https://verdigado.com Description: Theme for the German Green Party Version: 2.1.5 -Tested up to: 6.5 +Tested up to: 6.6 Requires PHP: 8.2 License: GNU General Public License v2 or later License URI: LICENSE