Skip to content

Commit

Permalink
Tag Cloud: Use flex for the Outline style (#38995)
Browse files Browse the repository at this point in the history
* Tag Cloud: Use flex for the Outline style

* remove the margin from the outline style
  • Loading branch information
scruffian committed Feb 23, 2022
1 parent 605e840 commit dfcec47
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions packages/block-library/src/tag-cloud/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,17 @@
text-decoration: none;
}

&.is-style-outline a {
border: 1px solid currentColor;
font-size: unset !important; // !important Needed to override the inline styles.
margin-bottom: 1ch;
margin-right: 1ch;
padding: 1ch 2ch;
text-decoration: none !important; // !important needed to override generic post content link decoration.
&.is-style-outline {
display: flex;
flex-wrap: wrap;
gap: 1ch;

a {
border: 1px solid currentColor;
font-size: unset !important; // !important Needed to override the inline styles.
margin-right: 0;
padding: 1ch 2ch;
text-decoration: none !important; // !important needed to override generic post content link decoration.
}
}
}

0 comments on commit dfcec47

Please sign in to comment.