[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
Fri Mar 31 16:50:44 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
----------------------------------------------+----------------------
Changes (by afercia):

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


Comment:

 In [changeset:"40358"]:
 {{{
 #!CommitTicketReference repository="" revision="40358"
 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.
 }}}

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


More information about the wp-trac mailing list