Bundled Themes: Twenty Twenty post navigation links outside of the container.

Fixes a bug where the in-page pagination does not align within the inner container.

Props ataurr, audrasjb, mukesh27.
Fixes #48979.
Built from https://develop.svn.wordpress.org/trunk@47244


git-svn-id: http://core.svn.wordpress.org/trunk@47044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ianbelanger 2020-02-10 19:25:05 +00:00
parent 598b2889a9
commit 99f402dc62
3 changed files with 91 additions and 5 deletions

View File

@ -2595,8 +2595,14 @@ h2.entry-title {
font-size: 0.9em; font-size: 0.9em;
font-weight: 600; font-weight: 600;
line-height: 1; line-height: 1;
margin-top: 3em; margin: 3em auto 0 auto;
padding: 0 0.25em; padding: 0;
width: calc(100% - 4rem);
max-width: 58rem;
}
.post-nav-links > span.label {
padding: 1em 0;
} }
.post-nav-links > * { .post-nav-links > * {
@ -4462,6 +4468,14 @@ a.to-the-top > * {
li { li {
margin: 0.5rem 1rem 0 0; margin: 0.5rem 1rem 0 0;
} }
/* Post Footer --------------------------- */
/* POST NAV LINKS */
.post-nav-links {
margin: 3em 0 0 0;
}
} }
@media ( min-width: 480px ) { @media ( min-width: 480px ) {
@ -4497,6 +4511,14 @@ a.to-the-top > * {
.alignright { .alignright {
max-width: 26rem; max-width: 26rem;
} }
/* Post Footer --------------------------- */
/* POST NAV LINKS */
.post-nav-links {
margin: 3em 0 0 0;
}
} }
@media ( max-width: 599px ) { @media ( max-width: 599px ) {
@ -4531,6 +4553,13 @@ a.to-the-top > * {
width: calc( 100% - 4rem ); width: calc( 100% - 4rem );
} }
/* Post Footer --------------------------- */
/* POST NAV LINKS */
.post-nav-links {
margin: 3em 0 0 0;
}
} }
@media ( min-width: 600px ) { @media ( min-width: 600px ) {
@ -4544,6 +4573,13 @@ a.to-the-top > * {
margin-top: -4rem; margin-top: -4rem;
} }
/* Post Footer --------------------------- */
/* POST NAV LINKS */
.post-nav-links {
margin: 3em 0 0 0;
}
} }
@media ( min-width: 660px ) { @media ( min-width: 660px ) {
@ -4594,6 +4630,13 @@ a.to-the-top > * {
margin-right: 0; margin-right: 0;
} }
/* Post Footer --------------------------- */
/* POST NAV LINKS */
.post-nav-links {
margin: 3em auto 0 auto;
}
} }
@media ( min-width: 700px ) { @media ( min-width: 700px ) {

View File

@ -2611,8 +2611,14 @@ h2.entry-title {
font-size: 0.9em; font-size: 0.9em;
font-weight: 600; font-weight: 600;
line-height: 1; line-height: 1;
margin-top: 3em; margin: 3em auto 0 auto;
padding: 0 0.25em; padding: 0;
width: calc(100% - 4rem);
max-width: 58rem;
}
.post-nav-links > span.label {
padding: 1em 0;
} }
.post-nav-links > * { .post-nav-links > * {
@ -4496,6 +4502,14 @@ a.to-the-top > * {
li { li {
margin: 0.5rem 0 0 1rem; margin: 0.5rem 0 0 1rem;
} }
/* Post Footer --------------------------- */
/* POST NAV LINKS */
.post-nav-links {
margin: 3em 0 0 0;
}
} }
@media ( min-width: 480px ) { @media ( min-width: 480px ) {
@ -4531,6 +4545,14 @@ a.to-the-top > * {
.alignright { .alignright {
max-width: 26rem; max-width: 26rem;
} }
/* Post Footer --------------------------- */
/* POST NAV LINKS */
.post-nav-links {
margin: 3em 0 0 0;
}
} }
@media ( max-width: 599px ) { @media ( max-width: 599px ) {
@ -4565,6 +4587,13 @@ a.to-the-top > * {
width: calc( 100% - 4rem ); width: calc( 100% - 4rem );
} }
/* Post Footer --------------------------- */
/* POST NAV LINKS */
.post-nav-links {
margin: 3em 0 0 0;
}
} }
@media ( min-width: 600px ) { @media ( min-width: 600px ) {
@ -4578,6 +4607,13 @@ a.to-the-top > * {
margin-top: -4rem; margin-top: -4rem;
} }
/* Post Footer --------------------------- */
/* POST NAV LINKS */
.post-nav-links {
margin: 3em 0 0 0;
}
} }
@media ( min-width: 660px ) { @media ( min-width: 660px ) {
@ -4644,6 +4680,13 @@ a.to-the-top > * {
margin-right: 0; margin-right: 0;
} }
/* Post Footer --------------------------- */
/* POST NAV LINKS */
.post-nav-links {
margin: 3em auto 0 auto;
}
} }
@media ( min-width: 700px ) { @media ( min-width: 700px ) {

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.4-alpha-47243'; $wp_version = '5.4-alpha-47244';
/** /**
* 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.