[wp-trac] [WordPress Trac] #39983: Consider to don't use the CSS class button-link for controls that don't look like links

WordPress Trac noreply at wordpress.org
Mon Apr 3 22:20:39 UTC 2017


#39983: Consider to don't use the CSS class button-link for controls that don't
look like links
-------------------------------------------------+-------------------------
 Reporter:  afercia                              |       Owner:  afercia
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  4.7.4
Component:  Administration                       |     Version:  4.7
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-screenshots has-patch commit     |     Focuses:  ui
  fixed-major                                    |
-------------------------------------------------+-------------------------
Changes (by swissspidy):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40367"]:
 {{{
 #!CommitTicketReference repository="" revision="40367"
 Administration: Fix minor misalignments caused by the `button-link` CSS
 class.

 After [40059] the CSS class `button-link` uses `text-align: left` by
 default.
 This change now requires to limit as much as possible the use of `button-
 link`
 to controls that should really look like links and to explicitly set
 `text-align: center` in a few other cases.

 Fixes #39983.

 Merges [40358] to the 4.7 branch.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39983#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list