[wp-trac] [WordPress Trac] #50177: Writing Settings : Mail Server Port field overlap on small screens

WordPress Trac noreply at wordpress.org
Fri Jan 28 23:22:25 UTC 2022


#50177: Writing Settings : Mail Server Port field overlap on small screens
---------------------------------------------+-----------------------
 Reporter:  pravinparmar2404                 |       Owner:  audrasjb
     Type:  defect (bug)                     |      Status:  reopened
 Priority:  normal                           |   Milestone:  6.0
Component:  Administration                   |     Version:  5.3
 Severity:  normal                           |  Resolution:
 Keywords:  good-first-bug has-patch commit  |     Focuses:  ui, css
---------------------------------------------+-----------------------
Changes (by SergeyBiryukov):

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


Comment:

 This looks better now, but I think some further improvements could be
 made:
 * The selector seems a bit too specific, we could probably adjust it to
 account for other similar inputs.
 * Per the [https://developer.wordpress.org/coding-standards/wordpress-
 coding-standards/css/#selectors CSS coding standards], attribute selectors
 should use double quotes instead of single quotes.
 * `3px` still seems a bit too close, I think `5px` would look better.

 Maybe something like this would work?
 {{{
 .form-table .regular-text ~ input[type="text"].small-text {
         margin-top: 5px;
 }
 }}}

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


More information about the wp-trac mailing list