Opened 7 weeks ago
Last modified 3 weeks ago
#62601 new enhancement
The padding in the login form is not consistent; it varies.
Reported by: | deeppatel8950 | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.3 |
Component: | Login and Registration | Keywords: | has-patch |
Focuses: | ui, css, administration | Cc: |
Description
In a login form, using the same padding for the top, right, bottom, and left of the input fields ensures a better and more consistent design.
Attachments (1)
Change History (10)
This ticket was mentioned in PR #7913 on WordPress/wordpress-develop by @sainathpoojary.
7 weeks ago
#1
- Keywords has-patch added
This PR addresses a design inconsistency in the login form input fields. Previously, the margin was applied using shorthand syntax (margin: 0 6px 16px 0), which resulted in inconsistent spacing. The fix replaces the shorthand margin with margin-bottom: 16px to ensure a more uniform and predictable layout.
Trac ticket: #62601
#3
@
7 weeks ago
Hey @deeppatel8950,
Thank you for pointing that out! I’ll make sure to add it to the PR.
Also, I wanted to confirm: is the 6px margin on the right the expected behavior?
#4
@
7 weeks ago
Hi @sainathpoojary
It's a padding issue, not a margin issue. Add 3px or 5px of padding to ensure a consistent design across all sites.
#6
@
6 weeks ago
- Keywords needs-design-feedback added
Hi, @deeppatel8950, thanks for reporting this!
The current padding values (3px vertical, 5px horizontal) appear to be intentional, as this is a common design pattern for form inputs. Different horizontal and vertical padding often helps create better visual balance, since text typically needs more horizontal space than vertical space to maintain readability.
However, it would be valuable to get design feedback on this.
#7
@
6 weeks ago
- Component changed from General to Login and Registration
- Keywords 2nd-opinion added
- Type changed from defect (bug) to enhancement
- Version changed from 6.7.1 to 5.3
[46371] purposely changed the padding from 5px on all sides to a rem-based measurement that is slightly less on the top and bottom.
The password field also has more padding on one side to avoid overlap with the visibility toggle button.
@sainathpoojary commented on PR #7913:
6 weeks ago
#8
Closing this PR as this is the expected behavior, as per the discussion on Trac.
In a login form, using the same padding for the top, right, bottom, and left of the input fields ensures a better and more consistent design.