Make WordPress Core


Ignore:
Timestamp:
03/01/2012 11:55:09 PM (14 years ago)
Author:
nacin
Message:

Line up elements on themes.php. Line up 'Available Themes' header and search/feature form. Switch to padding instead of margin for #current-theme to prevent margin-uncollapse jitters when animating the feature filter. Move 'Current Theme' inside #current-theme so it is hidden by the feature filter. see #20147.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/themes.php

    r20043 r20064  
    9898</h2>
    9999<?php $ct = wp_get_theme(); ?>
     100<div id="current-theme">
    100101<h3><?php _e( 'Current Theme' ); ?></h3>
    101 <div id="current-theme">
    102102<?php if ( $screenshot = $ct->get_screenshot() ) : ?>
    103103<img src="<?php echo esc_url( $screenshot ); ?>" alt="<?php esc_attr_e( 'Current theme preview'); ?>" />
     
    155155?>
    156156
    157 <h3><?php _e('Available Themes'); ?></h3>
     157<h3 class="available-themes"><?php _e('Available Themes'); ?></h3>
    158158
    159159<?php if ( !empty( $_REQUEST['s'] ) || !empty( $_REQUEST['filter'] ) || $wp_list_table->has_items() ) : ?>
Note: See TracChangeset for help on using the changeset viewer.