Skip to content

Commit

Permalink
fix: consolidate duplicate selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
laurelfulford committed Jan 8, 2025
1 parent 49d7a86 commit 6382fb0
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/blocks/tabs/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,7 @@

.wp-block-newspack-tabs {
background: var(--newspack-ui-color-body-bg, #fff);
}

.has-background .wp-block-newspack-tabs {
border-radius: var(--newspack-ui-border-radius-m, 6px);
padding: var(--newspack-ui-spacer-5, 24px);
}

.wp-block-newspack-tabs {
.tab-list {
display: flex;
font-family: var(--newspack-ui-font-family, system-ui, sans-serif);
Expand Down Expand Up @@ -146,3 +139,8 @@
}
}
}

.has-background .wp-block-newspack-tabs {
border-radius: var(--newspack-ui-border-radius-m, 6px);
padding: var(--newspack-ui-spacer-5, 24px);
}

0 comments on commit 6382fb0

Please sign in to comment.