Merge duplicate CSS selector

This commit is contained in:
Albert Juhé Lluveras 2023-02-21 14:58:05 +01:00
parent acfa4b635a
commit f3c5131b8a
1 changed files with 3 additions and 7 deletions

View File

@ -575,6 +575,9 @@ ul.wc-tabs {
}
&.active {
// Style active tab in theme colors.
background: var(--wp--preset--color--background, $contentbg);
border-bottom-color: var(--wp--preset--color--background, $contentbg);
box-shadow: 0 1px var(--wp--preset--color--background);
}
@ -584,13 +587,6 @@ ul.wc-tabs {
}
}
// Moved from blocktheme.scss to retain full styling.
ul.tabs li.active {
// Style active tab in theme colors.
background: var(--wp--preset--color--background, $contentbg);
border-bottom-color: var(--wp--preset--color--background, $contentbg);
}
.woocommerce-Tabs-panel {
padding-top: var(--wp--style--block-gap);
font-size: var(--wp--preset--font-size--small);