Twenty Fifteen: Fixes List Block with padding not having background color.

The List Block when had padding was not displaying the background color correctly. This only impacts the non-framed editor.

Props viralsampat, devtanbir, sabernhardt, deepakvijayan.
Fixes #60197.

Built from https://develop.svn.wordpress.org/trunk@58772


git-svn-id: http://core.svn.wordpress.org/trunk@58174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-07-20 12:43:17 +00:00
parent a75e8ef744
commit 9abf0d77e7
2 changed files with 5 additions and 1 deletions

View File

@ -405,6 +405,10 @@ Description: Used to style blocks in the editor.
padding: 0;
}
div.editor-styles-wrapper .wp-block-list:where(.has-background) {
padding: 1.25em 2.375em;
}
/* Quote */
.rtl .editor-block-list__block blockquote {

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.7-alpha-58771';
$wp_version = '6.7-alpha-58772';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.