Make WordPress Core

Changeset 38866


Ignore:
Timestamp:
10/21/2016 08:50:36 PM (8 years ago)
Author:
davidakennedy
Message:

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.

Location:
trunk/src/wp-content/themes/twentyseventeen
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/rtl.css

    r38865 r38866  
    374374    .has-sidebar.error404 #primary .page-content,
    375375    .error404.has-sidebar #primary .page-content,
    376     body.page-two-column #primary .entry-content {
     376    body.page-two-column #primary .entry-content,
     377    body.page-two-column #comments {
    377378        float: left;
    378379    }
  • trunk/src/wp-content/themes/twentyseventeen/style.css

    r38865 r38866  
    22422242
    22432243#comments {
     2244    clear: both;
    22442245    padding: 2em 0 0.5em;
    22452246}
     
    36703671    .error404:not(.has-sidebar) #primary .page-content,
    36713672    .error404.has-sidebar #primary .page-content,
    3672     body.page-two-column #primary .entry-content {
     3673    body.page-two-column #primary .entry-content,
     3674    body.page-two-column #comments {
    36733675        float: right;
    36743676        width: 58%;
Note: See TracChangeset for help on using the changeset viewer.