Make WordPress Core

Changeset 24074


Ignore:
Timestamp:
04/23/2013 11:10:00 PM (11 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: avoid setting absolute positioning and a magic height number for child comments. This allows for a more flexible layout. Props obenland, fixes #24172.

Location:
trunk/wp-content/themes/twentythirteen
Files:
2 edited

Legend:

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

    r24073 r24074  
    590590
    591591.comment-author {
     592    float: right;
    592593    margin-left: 50px;
    593594    margin-right: auto;
    594     left: auto;
    595     right: 0;
    596 }
    597 
     595}
    598596
    599597.bypostauthor .fn:before {
     
    612610}
    613611
    614 .comment-meta,
     612.comment-metadata,
    615613.comment-content,
    616614.reply {
  • trunk/wp-content/themes/twentythirteen/style.css

    r24073 r24074  
    22902290
    22912291.comment-author {
     2292    float: left;
    22922293    max-width: 74px;
    2293     position: absolute;
    2294     left: 0;
    22952294}
    22962295
     
    23192318}
    23202319
    2321 .no-avatars .comment-meta,
     2320.no-avatars .comment-metadata,
    23222321.no-avatars .comment-content,
    23232322.no-avatars .reply {
     
    23342333}
    23352334
    2336 .comment-meta,
     2335.comment-metadata,
    23372336.comment-content,
    23382337.reply {
     
    23472346    color: #a2a2a2;
    23482347    font-size: 13px;
    2349     margin-bottom: 20px;
    23502348}
    23512349
    23522350.comment-meta a:hover {
    23532351    color: #ea9629;
     2352}
     2353
     2354.comment-metadata {
     2355    margin-bottom: 20px;
    23542356}
    23552357
     
    30793081    }
    30803082
    3081     .comment-meta,
     3083    .comment-metadata,
    30823084    .comment-content,
    30833085    .reply {
     
    31673169        margin: 0 0 5px;
    31683170        max-width: 100%;
    3169         position: relative;
    31703171    }
    31713172
     
    31763177    }
    31773178
    3178     .comment-meta,
     3179    .comment-metadata,
    31793180    .comment-content,
    31803181    .reply {
     
    33053306    }
    33063307
    3307     .comment-meta {
     3308    .comment-metadata {
    33083309        float: none;
    33093310    }
Note: See TracChangeset for help on using the changeset viewer.