Fix TT3 styles and typography in the single product's attributes table (#37895)

This commit is contained in:
Ron Rennick 2023-05-17 16:37:49 -03:00 committed by GitHub
commit d8eee11eb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 2 deletions

View File

@ -0,0 +1,4 @@
Significance: minor
Type: enhancement
Fixed the attributes table styling in TT3 tabs content area

View File

@ -595,12 +595,28 @@ ul.wc-tabs {
font-size: var(--wp--preset--font-size--small); font-size: var(--wp--preset--font-size--small);
margin-left: 1em; margin-left: 1em;
h2 { // Hide repeated heading.
h2:first-of-type {
display: none; display: none;
} }
// Attributes table styles.
table.woocommerce-product-attributes { table.woocommerce-product-attributes {
tbody {
td, th {
padding: 0.2rem 0.2rem 0.2rem 0;
p {
margin: 0;
}
}
th {
text-align: left; text-align: left;
padding-right: 1rem;
}
}
} }
} }