Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions plugins/woocommerce/changelog/fix-37636-attributes-table
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fix

Fixed the attributes table styling in TT2 tabs content area
22 changes: 21 additions & 1 deletion plugins/woocommerce/client/legacy/css/twenty-twenty-two.scss
Original file line number Diff line number Diff line change
Expand Up @@ -594,9 +594,29 @@ 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 {
tbody {

td, th {
padding: 0.2rem 0.2rem 0.2rem 0;

p {
margin: 0;
}
}

th {
text-align: left;
padding-right: 1rem;
}
}
}
}

/**
Expand Down