mirror of
git://develop.git.wordpress.org/
synced 2025-04-26 15:13:30 +02: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. git-svn-id: https://develop.svn.wordpress.org/trunk@58238 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
415995a210
commit
70203a19be
src/wp-content/themes/twentyeleven
@ -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
|
||||
--------------------------------------------------------------*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user