[wp-trac] [WordPress Trac] #59967: Search Button Position Breaks When JavaScript is Turned Off

WordPress Trac noreply at wordpress.org
Wed Nov 29 16:43:33 UTC 2023


#59967: Search Button Position Breaks When JavaScript is Turned Off
-------------------------------------------------+-------------------------
 Reporter:  devmuhib                             |       Owner:
                                                 |  hellofromTonya
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.5
Component:  Plugins                              |     Version:  5.5
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-screenshots has-testing-info     |     Focuses:  css,
  has-patch commit                               |  administration
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

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


Comment:

 In [changeset:"57144" 57144]:
 {{{
 #!CommitTicketReference repository="" revision="57144"
 Plugins: Fix Add Plugin search button pos when JS off.

 When JavaScript is disabled, the Add Plugins screen's search button
 position was too high in comparison to the search text field. This fix
 reuses the CSS declaration to keep field and button aligned.

 By targeting the `.no-js` class, the CSS specificity is not impacted when
 JavaScript is enabled.

 Follow up to [48281], [30830].

 Props devmuhib, sabernhardt, huzaifaalmesbah, hellofromTonya.
 Fixes #59967.
 }}}

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


More information about the wp-trac mailing list