Skip to content

Commit

Permalink
Fixed outline styling
Browse files Browse the repository at this point in the history
  • Loading branch information
peiche committed Oct 20, 2023
1 parent 022055f commit 6fa7d20
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/scss/blocks/post-terms/_theme.scss
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
@use "./base" as *;

.wp-block-post-terms {
&.is-style-buttons a {
background-color: var(--wp--preset--color--contrast-lower);
padding: var(--wp--preset--spacing--xxxs) var(--wp--preset--spacing--xs);
}

&.is-style-outline a {
background-color: transparent;
color: var(--wp--preset--color--contrast-high);
border: 2px solid var(--wp--preset--color--contrast-low);
padding: var(--wp--preset--spacing--xxxxs) var(--wp--preset--spacing--xxs);
}

&.is-style-buttons,
&.is-style-outline {
a {
background-color: var(--wp--preset--color--contrast-lower);
color: var(--wp--preset--color--contrast-high);
text-decoration: none;
border-radius: 9999px;
padding: var(--wp--preset--spacing--xxxs) var(--wp--preset--spacing--xs);
display: inline-block;

&:hover {
Expand Down

0 comments on commit 6fa7d20

Please sign in to comment.