Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions packages/block-library/src/latest-posts/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,19 @@
margin-bottom: 1em;
}

.wp-block-latest-posts__post-full-content {
// Apply list styles only to unordered lists to prevent overriding ordered list styles.
ul > li {
list-style-type: disc;
> ul > li {
list-style-type: circle;
> ul > li {
list-style-type: square;
}
}
}
}

.wp-block-latest-posts__featured-image {
a {
display: inline-block;
Expand Down
11 changes: 11 additions & 0 deletions packages/block-library/src/post-content/style.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
.wp-block-post-content {
display: flow-root;

// Apply list styles only to unordered lists to prevent overriding ordered list styles.
ul > li {
list-style-type: disc;
> ul > li {
list-style-type: circle;
> ul > li {
list-style-type: square;
}
}
}
}
Loading