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:
parent
00a12db5bd
commit
46aa035e14
|
@ -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
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue