From 3e8333b0de58d7c8850887a26827f49182d684d9 Mon Sep 17 00:00:00 2001 From: "David A. Kennedy" Date: Fri, 21 Oct 2016 20:50:36 +0000 Subject: [PATCH] Twenty Seventeen: Fix spacing issue on pages with comments This effected the two column layout on pages. The entry content and comment areas needed to be floated and cleared properly. Props laurelfulford. Fixes #38388. git-svn-id: https://develop.svn.wordpress.org/trunk@38866 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyseventeen/rtl.css | 3 ++- src/wp-content/themes/twentyseventeen/style.css | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentyseventeen/rtl.css b/src/wp-content/themes/twentyseventeen/rtl.css index 37e3906a1a..b8b002801f 100644 --- a/src/wp-content/themes/twentyseventeen/rtl.css +++ b/src/wp-content/themes/twentyseventeen/rtl.css @@ -373,7 +373,8 @@ input[type="checkbox"] { .search:not(.has-sidebar) #primary article, .has-sidebar.error404 #primary .page-content, .error404.has-sidebar #primary .page-content, - body.page-two-column #primary .entry-content { + body.page-two-column #primary .entry-content, + body.page-two-column #comments { float: left; } diff --git a/src/wp-content/themes/twentyseventeen/style.css b/src/wp-content/themes/twentyseventeen/style.css index 0b6764b426..a814f9ae20 100644 --- a/src/wp-content/themes/twentyseventeen/style.css +++ b/src/wp-content/themes/twentyseventeen/style.css @@ -2241,6 +2241,7 @@ body:not(.twentyseventeen-front-page) .entry-header { --------------------------------------------------------------*/ #comments { + clear: both; padding: 2em 0 0.5em; } @@ -3669,7 +3670,8 @@ article.panel-placeholder { .search:not(.has-sidebar) #primary article, .error404:not(.has-sidebar) #primary .page-content, .error404.has-sidebar #primary .page-content, - body.page-two-column #primary .entry-content { + body.page-two-column #primary .entry-content, + body.page-two-column #comments { float: right; width: 58%; }