From d56903d3315ee3c6b0871468e3de51c5bbdece92 Mon Sep 17 00:00:00 2001 From: Ian Belanger Date: Mon, 10 Feb 2020 18:23:29 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@47241 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentytwenty/style-rtl.css | 11 ++++++++++- src/wp-content/themes/twentytwenty/style.css | 9 +++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/wp-content/themes/twentytwenty/style-rtl.css b/src/wp-content/themes/twentytwenty/style-rtl.css index ef552c21b8..4b40b5cc99 100644 --- a/src/wp-content/themes/twentytwenty/style-rtl.css +++ b/src/wp-content/themes/twentytwenty/style-rtl.css @@ -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 ) { diff --git a/src/wp-content/themes/twentytwenty/style.css b/src/wp-content/themes/twentytwenty/style.css index d845fc0223..f27a87c080 100644 --- a/src/wp-content/themes/twentytwenty/style.css +++ b/src/wp-content/themes/twentytwenty/style.css @@ -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 ) {