WordPress.org

Make WordPress Core

Changeset 36270


Ignore:
Timestamp:
01/12/2016 05:12:17 PM (4 years ago)
Author:
obenland
Message:

Themes: Clear floated theme cards on Themes page.

Also maintains visual separation for Broken Themes table on searches that
return no results.

See [36171] for .wp-clearfix.

Props 5um17, obenland, valendesigns, afercia.
Fixes #26646.

Location:
trunk/src/wp-admin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/themes.css

    r35801 r36270  
    1010.theme-browser .themes {
    1111    clear: both;
    12     padding: 0 0 100px;
    1312}
    1413
     
    11251124    font-style: normal;
    11261125    margin: 0;
    1127     padding: 0;
     1126    padding: 100px 0;
    11281127    text-align: center;
    11291128    display: none;
    11301129}
     1130
    11311131body.no-results p.no-themes {
    11321132    display: block;
    11331133}
     1134
    11341135body.show-upload-theme p.no-themes {
    11351136    display: none !important;
  • trunk/src/wp-admin/js/theme.js

    r36204 r36270  
    8181        this.view.render();
    8282        this.$el.empty().append( this.view.el ).addClass( 'rendered' );
    83         this.$el.append( '<br class="clear"/>' );
    8483    },
    8584
     
    839838themes.view.Themes = wp.Backbone.View.extend({
    840839
    841     className: 'themes',
     840    className: 'themes wp-clearfix',
    842841    $overlay: $( 'div.theme-overlay' ),
    843842
  • trunk/src/wp-admin/theme-install.php

    r36092 r36270  
    196196    <span class="spinner"></span>
    197197
    198     <br class="clear" />
    199198<?php
    200199if ( $tab ) {
  • trunk/src/wp-admin/themes.php

    r35483 r36270  
    230230
    231231<div class="theme-browser">
    232     <div class="themes">
     232    <div class="themes wp-clearfix">
    233233
    234234<?php
     
    283283</div>
    284284<?php endforeach; ?>
    285     <br class="clear" />
    286285    </div>
    287286</div>
Note: See TracChangeset for help on using the changeset viewer.