Skip to content

Commit

Permalink
Fixed style for Twenty Twenty Three theme
Browse files Browse the repository at this point in the history
  • Loading branch information
gpressutto5 committed Dec 19, 2024
1 parent 3b1238c commit 26c55cf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions client/checkout/classic/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,11 @@ li.wc_payment_method:has( .input-radio:checked
}
}

// Storefront compatibility.
.theme-storefront {
// Pseudo-element radio button compatibility.
// Unfortunately, there is no direct way to detect the existence of pseudo-elements like ::before using CSS selectors,
// so we use the theme class to add the necessary styles.
.theme-storefront,
.theme-twentytwentythree {
#payment {
.payment_methods {
> li.wc_payment_method {
Expand Down

0 comments on commit 26c55cf

Please sign in to comment.