Opened 3 years ago
Closed 2 years ago
#54219 closed defect (bug) (fixed)
Updated 'screen-per-page' padding for better navigation appearance on all Screen Options > Pagination
Reported by: | Ankit K Gupta | Owned by: | audrasjb |
---|---|---|---|
Milestone: | 6.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | has-patch commit assigned-for-commit |
Focuses: | ui, css, administration | Cc: |
Description
'Number of items per page' option available under 'Screen Options', is misaligned due to common padding being used on multiple input types. Although other input[type="number"] available on 'Reading Settings' look fine.
Added specific padding for input[type="number"].screen-per-page. So all 'screen-per-page' arrows are properly aligned on all screens like Posts listing, Pages listing, Plugins.php, edit-comments.php, users.php, export-personal-data.php, erase-personal-data.php
Attachments (7)
Change History (15)
#3
@
3 years ago
- Focuses css added
- Milestone changed from Awaiting Review to 6.0
Setting the side padding to zero (54219.2.patch) works for me at any screen size.
And this could be better than the option of using the small-text
class. I would prefer having these inputs a bit wider, though 3 digits fit within the 4em even with a larger font size (small-text
has a fixed 65-pixel width on larger screens).
This ticket was mentioned in Slack in #core by chaion07. View the logs.
2 years ago
#5
@
2 years ago
Thanks, @sabernhardt for the suggestion. I have tested with small-text
class and it looks good to me.
#6
@
2 years ago
- Keywords commit added
I was going to upload a patch with the small-text
class instead, so we could compare them. However, simply changing the right padding in 54219.2.patch is better with text zoom and/or on smaller screens.
Recommending for commit.
Patch file with fix