Fix TT3 styles and typography in the single product's attributes table (#37895)
This commit is contained in:
commit
d8eee11eb2
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: enhancement
|
||||
|
||||
Fixed the attributes table styling in TT3 tabs content area
|
|
@ -595,12 +595,28 @@ ul.wc-tabs {
|
|||
font-size: var(--wp--preset--font-size--small);
|
||||
margin-left: 1em;
|
||||
|
||||
h2 {
|
||||
// Hide repeated heading.
|
||||
h2:first-of-type {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// Attributes table styles.
|
||||
table.woocommerce-product-attributes {
|
||||
text-align: left;
|
||||
tbody {
|
||||
|
||||
td, th {
|
||||
padding: 0.2rem 0.2rem 0.2rem 0;
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue