summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/latest-posts/editor.css
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/latest-posts/editor.css')
-rw-r--r--wp-includes/blocks/latest-posts/editor.css18
1 files changed, 8 insertions, 10 deletions
diff --git a/wp-includes/blocks/latest-posts/editor.css b/wp-includes/blocks/latest-posts/editor.css
index 850c367..67af7df 100644
--- a/wp-includes/blocks/latest-posts/editor.css
+++ b/wp-includes/blocks/latest-posts/editor.css
@@ -1,9 +1,3 @@
-.wp-block-latest-posts{
- padding-left:2.5em;
-}
-.wp-block-latest-posts.is-grid{
- padding-left:0;
-}
.wp-block-latest-posts>li{
overflow:hidden;
}
@@ -12,13 +6,17 @@
display:inline;
}
-.edit-post-visual-editor .wp-block-latest-posts.is-grid li{
- margin-bottom:20px;
-}
-
.editor-latest-posts-image-alignment-control .components-base-control__label{
display:block;
}
.editor-latest-posts-image-alignment-control .components-toolbar{
border-radius:2px;
+}
+
+:root :where(.wp-block-latest-posts){
+ padding-left:2.5em;
+}
+
+:root :where(.wp-block-latest-posts.is-grid),:root :where(.wp-block-latest-posts__list){
+ padding-left:0;
} \ No newline at end of file