Skip to content

Commit

Permalink
Fix text-decoration of links in WordPress 6.6 (#671)
Browse files Browse the repository at this point in the history
  • Loading branch information
albig authored Jul 17, 2024
1 parent 845288d commit 392ed85
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions sass/base/elements/_links.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
2 changes: 1 addition & 1 deletion sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 392ed85

Please sign in to comment.