[wp-trac] [WordPress Trac] #63310: On mobile devices, the search bar in the WordPress admin "Pages" section has an unnecessary right margin, which negatively impacts the visual alignment and user experience.

WordPress Trac noreply at wordpress.org
Thu Apr 24 15:55:12 UTC 2025


#63310: On mobile devices, the search bar in the WordPress admin "Pages" section
has an unnecessary right margin, which negatively impacts the visual
alignment and user experience.
-------------------------------------------------+-------------------------
 Reporter:  ronak44                              |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Administration                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch changes-requested needs-   |     Focuses:  ui, css
  design-feedback                                |
-------------------------------------------------+-------------------------
Changes (by sabernhardt):

 * keywords:  needs-design has-patch => has-patch changes-requested needs-
     design-feedback
 * type:  defect (bug) => enhancement
 * version:  6.8 =>
 * component:  General => Administration


Comment:

 63310.diff removes all margins from multiple inputs at any screen size,
 but at least `.tagsdiv .newtag` still needs the right margin.

 I would just add `margin-right: 0;` in the `p.search-box input[name="s"]`
 [https://github.com/WordPress/wordpress-
 develop/blob/478a5ab5805e67524841913db5aa8bc1228dcf46/src/wp-
 admin/css/forms.css#L1708-L1713 ruleset for smaller screens], where it
 sets the input width at 100%.

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


More information about the wp-trac mailing list