-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tag Cloud: Add border block support (#63579)
* Add border support to tag cloud block * Prevent duplicate border styles in editor * Add comments on style and edit component changes in tag cloud block Co-authored-by: akasunil <[email protected]> Co-authored-by: aaronrobertshaw <[email protected]>
- Loading branch information
1 parent
da50610
commit d86a499
Showing
3 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
// The following styles are to prevent duplicate spacing for the tag cloud | ||
// The following styles are to prevent duplicate spacing and border for the tag cloud | ||
// block in the editor given it uses server side rendering. The specificity | ||
// must be higher than `0-1-0` to override global styles. Targeting the | ||
// inner use of the .wp-block-tag-cloud class should minimize impact on | ||
// other 3rd party styles targeting the block. | ||
.wp-block-tag-cloud .wp-block-tag-cloud { | ||
margin: 0; | ||
padding: 0; | ||
border: none; | ||
border-radius: inherit; | ||
} |