Twenty Eleven: Resolves padding for media and text block.

The media and test block had misaligned padding. This changes styles to match margins.

Props kajalgohel, nidhidhandhukiya, ironprogrammer, sabernhardt, costdev, huzaifaalmesbah, hmbashar.
Fixes #57195.

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


git-svn-id: http://core.svn.wordpress.org/trunk@57701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-05-29 21:00:13 +00:00
parent 2fba811824
commit e5e0debea4
3 changed files with 19 additions and 1 deletions

View File

@ -286,10 +286,19 @@ p.has-drop-cap:not(:focus)::first-letter {
margin-bottom: 1.625em;
}
.wp-block-media-text *:first-child {
margin-top: 0;
}
.wp-block-media-text *:last-child {
margin-bottom: 0;
}
.wp-block-media-text .wp-block-media-text__content {
padding-top: 1.5em;
padding-bottom: 1.5em;
}
/*--------------------------------------------------------------
5.0 Blocks - Widgets
--------------------------------------------------------------*/

View File

@ -429,10 +429,19 @@ p.has-drop-cap:not(:focus)::first-letter {
/* Media & Text */
.wp-block-media-text *:first-child {
margin-top: 0;
}
.wp-block-media-text *:last-child {
margin-bottom: 0;
}
.wp-block-media-text .wp-block-media-text__content {
padding-top: 1.5em;
padding-bottom: 1.5em;
}
/*--------------------------------------------------------------
6.0 Blocks - Widgets
--------------------------------------------------------------*/

View File

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