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
This commit is contained in:
David A. Kennedy 2016-10-21 20:50:36 +00:00
parent 90eddc0630
commit 3e8333b0de
2 changed files with 5 additions and 2 deletions

View File

@ -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;
}

View File

@ -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%;
}