mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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:
parent
2fba811824
commit
e5e0debea4
@ -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
|
||||
--------------------------------------------------------------*/
|
||||
|
@ -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
|
||||
--------------------------------------------------------------*/
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user