Make WordPress Core

Changeset 27877


Ignore:
Timestamp:
03/31/2014 09:21:18 PM (11 years ago)
Author:
nacin
Message:

Fix two CSS issues in the 3.8 branch.

  • Comments dashboard widget: Use the proper class to avoid stretched "unapproved" red lines. [27564]
  • Fix the tags input in small viewports and make it a more reasonable size. (Was unusable in Firefox.) [27254]

fixes #26910, #27082.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.8/src/wp-includes/post-template.php

    r27874 r27877  
    14431443    echo "</ul>";
    14441444}
     1445
     1446/**
     1447 * Dashboard CSS fixes for 3.8.2.
     1448 *
     1449 * This function cheaply fixes #WP27082 and #WP26910 in lieu of
     1450 * changing the massive wp-admin.css file in a point release.
     1451 * This lucky includes file was already receiving an update.
     1452 *
     1453 * @since 3.8.2
     1454 * @access private
     1455 */
     1456function wp_382_css_hotfix() {
     1457    echo '<style type="text/css">
     1458#activity-widget #the-comment-list .comment-item { position: relative; }
     1459.tagsdiv .newtag { padding: 6px 10px; height: auto; }
     1460</style>
     1461';
     1462}
     1463add_action( 'admin_print_styles', 'wp_382_css_hotfix', 30 );
Note: See TracChangeset for help on using the changeset viewer.