Bundled Themes: Twenty Twenty Author Bio/Post Meta Width in Cover Template in Mobile.

Fixes a bug where the author bio and post meta have no left or right padding in smaller viewports.

Props JarretC.
Fixes #49254.
Built from https://develop.svn.wordpress.org/trunk@47241


git-svn-id: http://core.svn.wordpress.org/trunk@47041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ianbelanger 2020-02-10 18:25:07 +00:00
parent 76e375434b
commit 2b52ae5c1b
3 changed files with 20 additions and 2 deletions

View File

@ -809,7 +809,7 @@ input:-ms-input-placeholder {
}
input::-moz-placeholder {
line-height: normal;
line-height: revert; /* Reset to the value from the user-agent stylesheet. */
}
input[type="search"]::-webkit-search-decoration,
@ -4522,6 +4522,15 @@ a.to-the-top > * {
margin-top: -1.8rem;
}
/* Template -------------------------------- */
/* TEMPLATE: COVER */
.template-cover .post-inner .post-meta-wrapper,
.template-cover .post-inner .author-bio {
width: calc( 100% - 4rem );
}
}
@media ( min-width: 600px ) {

View File

@ -4556,6 +4556,15 @@ a.to-the-top > * {
margin-top: -1.8rem;
}
/* Template -------------------------------- */
/* TEMPLATE: COVER */
.template-cover .post-inner .post-meta-wrapper,
.template-cover .post-inner .author-bio {
width: calc( 100% - 4rem );
}
}
@media ( min-width: 600px ) {

View File

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