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:
parent
90eddc0630
commit
3e8333b0de
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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%;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user