mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-01 00:27:38 +02:00
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:
parent
609dd1d14f
commit
48eea2481c
@ -684,6 +684,11 @@
|
|||||||
max-width: 2.25em;
|
max-width: 2.25em;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|
||||||
|
&:not(.wp-block-separator) {
|
||||||
|
max-width: 100%;
|
||||||
|
@include postContentMaxWidth();
|
||||||
|
}
|
||||||
|
|
||||||
&.is-style-wide {
|
&.is-style-wide {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
@include postContentMaxWidth();
|
@include postContentMaxWidth();
|
||||||
|
@ -2958,7 +2958,7 @@ body.page .main-navigation {
|
|||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
padding: calc( .5 * 1rem) 1rem calc( .5 * 1rem) calc( 24px + 1rem);
|
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,
|
.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;
|
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 {
|
.entry .entry-content .wp-block-pullquote {
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
border-width: 2px;
|
border-width: 2px;
|
||||||
|
@ -5652,7 +5652,7 @@ body.page .main-navigation {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@-moz-document url-prefix() {
|
@-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;
|
margin-top: 0.2em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -6035,6 +6035,25 @@ body.page .main-navigation {
|
|||||||
* is followed by an H1, or H2 */
|
* 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 .wp-block-separator.is-style-wide,
|
||||||
.entry .entry-content hr.is-style-wide {
|
.entry .entry-content hr.is-style-wide {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user