Skip to content

Commit

Permalink
RSS Block: Update block styles (#33294)
Browse files Browse the repository at this point in the history
* RSS Block: Update block styles

* Add ul for the editor

* Update comment
  • Loading branch information
scruffian authored and sarayourfriend committed Jul 15, 2021
1 parent 9b19490 commit 7956328
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/block-library/src/rss/style.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
.wp-block-rss {
ul.wp-block-rss { // The ul is needed for specificity to override the reset styles in the editor.
list-style: none;
padding: 0;

// This needs extra specificity due to the reset mixin on the parent: https://github.com/WordPress/gutenberg/blob/a250e9e5fe00dd5195624f96a3d924e7078951c3/packages/edit-post/src/style.scss#L54
&.wp-block-rss {
box-sizing: border-box;
Expand Down Expand Up @@ -36,6 +39,5 @@
.wp-block-rss__item-publish-date,
.wp-block-rss__item-author {
display: block;
color: #555;
font-size: 0.8125em;
}

0 comments on commit 7956328

Please sign in to comment.