Skip to content

Commit 4486c0a

Browse files
committed
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. git-svn-id: https://develop.svn.wordpress.org/trunk@58959 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 99907ee commit 4486c0a

File tree

5 files changed

+17
-0
lines changed

5 files changed

+17
-0
lines changed

src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@
137137
width: 100%;
138138

139139
audio {
140+
display: block;
140141
width: 100%;
141142
}
142143

src/wp-content/themes/twentynineteen/style-editor.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -990,6 +990,11 @@ figcaption,
990990
line-height: 1.6;
991991
}
992992

993+
/** === Audio === */
994+
.wp-block-audio audio {
995+
display: block;
996+
}
997+
993998
/** === Button === */
994999
.wp-block-buttons {
9951000
line-height: 1.2;

src/wp-content/themes/twentynineteen/style-editor.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,15 @@ figcaption,
381381
}
382382
}
383383

384+
/** === Audio === */
385+
386+
.wp-block-audio {
387+
388+
audio {
389+
display: block;
390+
}
391+
}
392+
384393
/** === Button === */
385394

386395
.wp-block-buttons {

src/wp-content/themes/twentynineteen/style-rtl.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5459,6 +5459,7 @@ body.page .main-navigation {
54595459
}
54605460

54615461
.entry .entry-content .wp-block-audio audio {
5462+
display: block;
54625463
width: 100%;
54635464
}
54645465

src/wp-content/themes/twentynineteen/style.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5471,6 +5471,7 @@ body.page .main-navigation {
54715471
}
54725472

54735473
.entry .entry-content .wp-block-audio audio {
5474+
display: block;
54745475
width: 100%;
54755476
}
54765477

0 commit comments

Comments
 (0)