#50177 closed defect (bug) (fixed)
Writing Settings : Mail Server Port field overlap on small screens
| Reported by: | pravinparmar2404 | Owned by: | audrasjb |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.0 |
| Component: | Administration | Version: | 5.3 |
| Severity: | normal | Keywords: | good-first-bug has-patch commit |
| Cc: | Focuses: | ui, css |
Description
Attachments (10)
Change History (30)
#2
@
6 years ago
- Component Options, Meta APIs → Administration
- Focuses administration removed
- Version 5.4.1 → 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
@
6 years ago
Sorry for uploading so many times. Please disregard the previous files. Please use this instead!
@
6 years ago
keeping the Port input's size small, plus the previous suggestion of moving the input below its label
#5
@
6 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.
4 years ago
#9
- Keywords needs-refresh removed
Trac ticket: https://core.trac.wordpress.org/ticket/50177
#10
@
4 years ago
- Keywords commit added
- Owner set to
- Status new → accepted
The above PR refreshes the patch against current trunk.
I think we're ready to ship this.
4 years ago
#12
Committed in https://core.trac.wordpress.org/changeset/52649
#13
@
4 years ago
- Resolution fixed
- Status closed → 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.
3pxstill seems a bit too close, I think5pxwould 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.
4 years ago
#14
Trac ticket: https://core.trac.wordpress.org/ticket/50177
#15
@
4 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
@
4 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 :)
4 years ago
#19
Committed in https://core.trac.wordpress.org/changeset/52801
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Mail Server Port field overlap on small screens