Twenty Nineteen: Reduce bottom margin for Audio block.

The audio block was lacking a bottom margin in some editors. This resolves both non-framed and framed changes.

Props PGeorgiev, desrosj, sabernhardt, hmbashar.
Fixes #53681.

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


git-svn-id: http://core.svn.wordpress.org/trunk@58355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-08-31 10:39:16 +00:00
parent 15aa25f351
commit 0d5e01a52e
6 changed files with 18 additions and 1 deletions

View File

@ -137,6 +137,7 @@
width: 100%; width: 100%;
audio { audio {
display: block;
width: 100%; width: 100%;
} }

View File

@ -990,6 +990,11 @@ figcaption,
line-height: 1.6; line-height: 1.6;
} }
/** === Audio === */
.wp-block-audio audio {
display: block;
}
/** === Button === */ /** === Button === */
.wp-block-buttons { .wp-block-buttons {
line-height: 1.2; line-height: 1.2;

View File

@ -381,6 +381,15 @@ figcaption,
} }
} }
/** === Audio === */
.wp-block-audio {
audio {
display: block;
}
}
/** === Button === */ /** === Button === */
.wp-block-buttons { .wp-block-buttons {

View File

@ -5459,6 +5459,7 @@ body.page .main-navigation {
} }
.entry .entry-content .wp-block-audio audio { .entry .entry-content .wp-block-audio audio {
display: block;
width: 100%; width: 100%;
} }

View File

@ -5471,6 +5471,7 @@ body.page .main-navigation {
} }
.entry .entry-content .wp-block-audio audio { .entry .entry-content .wp-block-audio audio {
display: block;
width: 100%; width: 100%;
} }

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.7-alpha-58958'; $wp_version = '6.7-alpha-58959';
/** /**
* 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.