Opened 5 years ago
Closed 5 years ago
#47173 closed defect (bug) (fixed)
Nav Menus: Delete Menu action link is misaligned in responsive view
Reported by: | ianbelanger | Owned by: | audrasjb |
---|---|---|---|
Milestone: | 5.2.1 | Priority: | normal |
Severity: | normal | Version: | 4.9 |
Component: | Menus | Keywords: | has-patch has-screenshots fixed-major |
Focuses: | Cc: |
Description (last modified by )
When adjusting line heights to unitless values, I noticed that the Delete Menu
action link on the Menus
page is misaligned when the screen is under 782px
. Screenshot and patch coming
Attachments (8)
Change History (24)
#2
@
5 years ago
- Milestone changed from Awaiting Review to 5.2.1
- Owner set to audrasjb
- Status changed from new to reviewing
#4
@
5 years ago
- Keywords needs-testing removed
- Status changed from reviewing to accepted
I tested 47173.diff
, it applies well and it fixed the issue on my side.
This should be fixed in 5.2.1 since it's a regression coming from 5.2.
Thanks @ianbelanger :-)
#5
@
5 years ago
Thanks @audrasjb, although I don't think that this issue was introduced in 5.2
. I am seeing it in 5.1.1
as well, but it wouldn't hurt to get it in 5.2.1
. Thanks for the quick review!
#7
@
5 years ago
@ianbelanger instead of adding top padding can we remove top padding from publish button? check attached screenshot after remove padding from publish button.
https://core.trac.wordpress.org/browser/trunk/src/wp-admin/css/nav-menus.css#L838
.nav-menus-php .major-publishing-actions .publishing-action { padding-top: 1em; }
#8
@
5 years ago
- Keywords needs-refresh added
Thanks @ianbelanger reviewing the patch and screenshot @mukesh27 provided I agree removing the top padding provides a nicer presentation as it gives the action a vertical centering in the space with equal padding above/below and to the right of the action. With that in mind going to add a refresh.
#11
@
5 years ago
- Keywords needs-design-feedback added
- Milestone changed from 5.2.1 to 5.2.2
This still needs a refresh, and I'd love for it to get some design attention. Going to move it to 5.2.2.
#12
@
5 years ago
- Keywords commit added; needs-refresh needs-design-feedback removed
- Milestone changed from 5.2.2 to 5.2.1
I was actually working on a fix for this when you changed the milestone @desrosj. Just uploaded the patch to fix the issue. Not sure that we need design-feedback
since it is a regression from 4.9
, but if someone from design wants to weigh-in that would be great. Going to move back into 5.2.1
milestone and mark for commit
.
#13
@
5 years ago
The left of my screenshot is 4.8 and the right is with 47173.2.diff. Since this is a regression, let's get this in.
Before applying patch