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.

Built from https://develop.svn.wordpress.org/trunk@38866


git-svn-id: http://core.svn.wordpress.org/trunk@38809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
David A. Kennedy 2016-10-21 20:51:53 +00:00
parent 36f6079b15
commit 222240c4da
3 changed files with 6 additions and 3 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%;
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-alpha-38865';
$wp_version = '4.7-alpha-38866';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.