summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/latest-posts/editor.css
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:51:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:51:18 +0000
commit0e41b5d52fdc6af6442816b5f465c9db9f84e126 (patch)
treee139a90049b158d4eed892d1662ee7f5c358fa31 /wp-includes/blocks/latest-posts/editor.css
parentAdding upstream version 6.5.5+dfsg1. (diff)
downloadwordpress-upstream/6.6.1+dfsg1.tar.xz
wordpress-upstream/6.6.1+dfsg1.zip
Adding upstream version 6.6.1+dfsg1.upstream/6.6.1+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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