#50177 closed defect (bug) (fixed)
Writing Settings : Mail Server Port field overlap on small screens
Reported by: | pravinparmar2404 | Owned by: | audrasjb |
---|---|---|---|
Milestone: | 6.0 | Priority: | normal |
Severity: | normal | Version: | 5.3 |
Component: | Administration | Keywords: | good-first-bug has-patch commit |
Focuses: | ui, css | Cc: |
Description
Attachments (10)
Change History (30)
#2
@
5 years ago
- Component changed from Options, Meta APIs to Administration
- Focuses administration removed
- Version changed from 5.4.1 to 5.3
Above: screenshot from WordPress 4.7 for comparison.
While the root cause of this issue always existed, as in: lack of a proper layout in the responsive view, the new styling for the input fields introduced in WordPress 5.3 made this glitch more evident.
#3
@
5 years ago
Sorry for uploading so many times. Please disregard the previous files. Please use this instead!
@
4 years ago
keeping the Port input's size small, plus the previous suggestion of moving the input below its label
#5
@
4 years ago
I like @thimalw's idea of moving the input below its label, though I think the input could stay the same size. (The side margin would still need to be set to zero.)
This ticket was mentioned in PR #2241 on WordPress/wordpress-develop by audrasjb.
3 years ago
#9
- Keywords needs-refresh removed
Trac ticket: https://core.trac.wordpress.org/ticket/50177
#10
@
3 years ago
- Keywords commit added
- Owner set to audrasjb
- Status changed from new to accepted
The above PR refreshes the patch against current trunk
.
I think we're ready to ship this.
3 years ago
#12
Committed in https://core.trac.wordpress.org/changeset/52649
#13
@
3 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
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 CSS coding standards, attribute selectors should use double quotes instead of single quotes.
3px
still seems a bit too close, I think5px
would look better.
Maybe something like this would work?
.form-table .regular-text ~ input[type="text"].small-text { margin-top: 5px; }
This ticket was mentioned in PR #2243 on WordPress/wordpress-develop by kebbet.
3 years ago
#14
Trac ticket: https://core.trac.wordpress.org/ticket/50177
#15
@
3 years ago
Here is the output https://prnt.sc/26pqjzs , but I think the mockup suggestion 50177-suggestion.png looked better, also this is my first patch just trying to see how this works, please ignore any mistakes :)
#16
@
3 years ago
- Keywords commit removed
@SergeyBiryukov thanks for reopening the ticket, I agree with your feedback.
Are you happy with PR#2243 proposed by kebbet? I think it addresses the underlined issues :)
3 years ago
#19
Committed in https://core.trac.wordpress.org/changeset/52801
Mail Server Port field overlap on small screens