WordPress.org

Make WordPress Core

Ticket #26646: 26646.2.diff

File 26646.2.diff, 2.1 KB (added by afercia, 4 years ago)
  • src/wp-admin/css/themes.css

     
    99
    1010.theme-browser .themes {
    1111        clear: both;
    12         padding: 0 0 100px;
    1312}
    1413
    1514.themes-php .wrap h1 {
     
    11241123        font-size: 18px;
    11251124        font-style: normal;
    11261125        margin: 0;
    1127         padding: 0;
     1126        padding: 100px 0 0 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;
    11361137}
  • src/wp-admin/js/theme.js

     
    8080                // Render and append
    8181                this.view.render();
    8282                this.$el.empty().append( this.view.el ).addClass( 'rendered' );
    83                 this.$el.append( '<br class="clear"/>' );
    8483        },
    8584
    8685        // Defines search element container
     
    838837// a wrapper that will hold all the theme elements
    839838themes.view.Themes = wp.Backbone.View.extend({
    840839
    841         className: 'themes',
     840        className: 'themes wp-clearfix',
    842841        $overlay: $( 'div.theme-overlay' ),
    843842
    844843        // Number to keep track of scroll position
  • src/wp-admin/theme-install.php

     
    195195        <p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p>
    196196        <span class="spinner"></span>
    197197
    198         <br class="clear" />
    199198<?php
    200199if ( $tab ) {
    201200        /**
  • src/wp-admin/themes.php

     
    229229?>
    230230
    231231<div class="theme-browser">
    232         <div class="themes">
     232        <div class="themes wp-clearfix">
    233233
    234234<?php
    235235/*
     
    282282        <?php } ?>
    283283</div>
    284284<?php endforeach; ?>
    285         <br class="clear" />
    286285        </div>
    287286</div>
    288287<div class="theme-overlay"></div>