Fix missing padding in some buttons in TT2 with WP 5.9 and 6.0 (#37018)

* Add default button padding to TT2 stylesheet to fix some visual issues in WP 5.9 and 6.0

* Add changelog notice
This commit is contained in:
Albert Juhé Lluveras 2023-03-03 13:45:18 +01:00 committed by GitHub
parent 00a12db5bd
commit 46aa035e14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Add default button padding to TT2 stylesheet to fix some visual issues in WP 5.9 and 6.0

View File

@ -120,6 +120,7 @@ $tt2-gray: #f7f7f7;
background-color: var(--wp--preset--color--primary);
color: #fff;
border: 1px solid var(--wp--preset--color--black);
padding: 1rem 2rem;
margin-top: 1rem;
text-decoration: none;
font-size: medium;
@ -185,6 +186,7 @@ $tt2-gray: #f7f7f7;
button.single_add_to_cart_button,
a.checkout-button {
font-size: 18px;
padding: 1.5rem 3.5rem;
}
// Moved from blockthemes.css to make sure TT2 won't be changed.