mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
Twenty Seventeen: Fix double bottom-margins below embeds
Corrects an issue where both the containing paragraph and embed had bottom margins, causing unwanted extra space. Props westonruter. Fixes #42118. Built from https://develop.svn.wordpress.org/trunk@41888 git-svn-id: http://core.svn.wordpress.org/trunk@41722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bd9d1d9178
commit
b6539fb5a0
@ -2820,6 +2820,14 @@ object {
|
|||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Remove bottom on embeds that wrapped in paragraphs via wpautop. */
|
||||||
|
|
||||||
|
p > embed:only-child,
|
||||||
|
p > iframe:only-child,
|
||||||
|
p > object:only-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-caption,
|
.wp-caption,
|
||||||
.gallery-caption {
|
.gallery-caption {
|
||||||
color: #666;
|
color: #666;
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.9-beta2-41887';
|
$wp_version = '4.9-beta2-41888';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user