Make WordPress Core


Ignore:
Timestamp:
02/14/2017 06:41:25 PM (8 years ago)
Author:
afercia
Message:

Buttons: Fix a few .button-link glitches after [40052].

Removes some stray underlines. Explicitly set the button text to be left aligned.

Props Cheffheid, f.staude, Presskopp.

See #34242.
Fixes #35126, #38712.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r40028 r40059  
    10391039                        }
    10401040
    1041                         echo '<button type="button" class="handlediv button-link" aria-expanded="true">';
     1041                        echo '<button type="button" class="handlediv" aria-expanded="true">';
    10421042                        echo '<span class="screen-reader-text">' . sprintf( __( 'Toggle panel: %s' ), $widget_title ) . '</span>';
    10431043                        echo '<span class="toggle-indicator" aria-hidden="true"></span>';
Note: See TracChangeset for help on using the changeset viewer.