Skip to content

Commit

Permalink
Provide margins to Latest Posts excerpts (#15760)
Browse files Browse the repository at this point in the history
* Provide margins to Latest Posts block content

* Provide these only to excerpts for now.

* Be less specific about the excerpt margin rule.

* Move margins to style.css
  • Loading branch information
kjellr authored May 22, 2019
1 parent 884b3f9 commit 5564e85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/latest-posts/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
padding-left: 0;
}
}

.wp-block-latest-posts li a > div {
display: inline;
}
5 changes: 5 additions & 0 deletions packages/block-library/src/latest-posts/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,8 @@
color: $dark-gray-300;
font-size: $default-font-size;
}

.wp-block-latest-posts__post-excerpt {
margin-top: $grid-size;
margin-bottom: $grid-size-large;
}

0 comments on commit 5564e85

Please sign in to comment.