Bundled Themes: Twenty Nineteen horizontal rule is very narrow.

Fixes the issue by adding specific styles for the `<hr>` tag.

Props laurelfulford, nielslange, kjellr, samful, leprincenoir.
Fixes #45912.
Built from https://develop.svn.wordpress.org/trunk@48073


git-svn-id: http://core.svn.wordpress.org/trunk@47840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ianbelanger 2020-06-17 15:48:09 +00:00
parent 609dd1d14f
commit 48eea2481c
4 changed files with 33 additions and 3 deletions

View File

@ -684,6 +684,11 @@
max-width: 2.25em;
text-align: left;
&:not(.wp-block-separator) {
max-width: 100%;
@include postContentMaxWidth();
}
&.is-style-wide {
max-width: 100%;
@include postContentMaxWidth();

View File

@ -2958,7 +2958,7 @@ body.page .main-navigation {
line-height: 1.2;
text-shadow: none;
padding: calc( .5 * 1rem) 1rem calc( .5 * 1rem) calc( 24px + 1rem);
white-space: nowrap;
max-width: 20rem;
}
.main-navigation .sub-menu > li > a:hover, .main-navigation .sub-menu > li > a:focus,
@ -5639,6 +5639,12 @@ body.page .main-navigation {
margin: 0 0 0 0.25em;
}
@-moz-document url-prefix() {
.entry .entry-content .has-drop-cap:not(:focus)::first-letter {
margin-top: 0.2em;
}
}
.entry .entry-content .wp-block-pullquote {
border-color: transparent;
border-width: 2px;

View File

@ -5652,7 +5652,7 @@ body.page .main-navigation {
}
@-moz-document url-prefix() {
.entry .entry-content .has-drop-cap:not(:focus)::first-letter {
.entry .entry-content .has-drop-cap:not(:focus):first-letter {
margin-top: 0.2em;
}
}
@ -6035,6 +6035,25 @@ body.page .main-navigation {
* is followed by an H1, or H2 */
}
.entry .entry-content .wp-block-separator:not(.wp-block-separator),
.entry .entry-content hr:not(.wp-block-separator) {
max-width: 100%;
}
@media only screen and (min-width: 768px) {
.entry .entry-content .wp-block-separator:not(.wp-block-separator),
.entry .entry-content hr:not(.wp-block-separator) {
max-width: calc(8 * (100vw / 12) - 28px);
}
}
@media only screen and (min-width: 1168px) {
.entry .entry-content .wp-block-separator:not(.wp-block-separator),
.entry .entry-content hr:not(.wp-block-separator) {
max-width: calc(6 * (100vw / 12) - 28px);
}
}
.entry .entry-content .wp-block-separator.is-style-wide,
.entry .entry-content hr.is-style-wide {
max-width: 100%;

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5-alpha-48072';
$wp_version = '5.5-alpha-48073';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.