Opened 7 weeks ago
Closed 3 weeks ago
#64692 closed defect (bug) (fixed)
[admin-reskin] Remove floats from custom links section in the Nav Menus screen
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 7.0 | Priority: | normal |
| Severity: | normal | Version: | trunk |
| Component: | Menus | Keywords: | has-screenshots has-patch |
| Focuses: | ui, css | Cc: |
Description
With the admin reskin, there are some issues on the custom links section of the nav menu screen in some Locales. See screenshots below for the fr_FR locale.
I suggest to simply remove the existing float css properties to avoid such issues.
Attachments (3)
Change History (16)
This ticket was mentioned in PR #10997 on WordPress/wordpress-develop by @audrasjb.
7 weeks ago
#1
- Keywords has-patch added
#2
follow-up:
↓ 3
@
7 weeks ago
I tested it with Belarusian (Беларуская мова) and saw the same issue. After applying the PR #10997 , the issue was fixed.
However, Maybe it would look better if we use:
.menu-item-textbox {
width: 100%;
}
Since the label and the textbox are currently on separate rows.
| Before Apply Patch | After Apply Patch ✅ |
|
|
#3
in reply to:
↑ 2
@
7 weeks ago
Replying to huzaifaalmesbah:
However, Maybe it would look better if we use:
.menu-item-textbox { width: 100%; }Since the label and the textbox are currently on separate rows.
Right, let's do that. PR updated.
@shailu25 commented on PR #10997:
7 weeks ago
#4
I believe that if we set the input box width to 100%, we may also need to adjust the button alignment, as it does not appear to be properly aligned at the moment. It should support alignment options such as right, center, or left, as appropriate.
Just sharing my thoughts.
Currently, it appears as shown here: https://prnt.sc/GRIgTITSt3Zr
@audrasjb commented on PR #10997:
5 weeks ago
#5
Thanks for the comments! If anyone is able to rebuild a PR for this, it would be really appreciated because I'm not sure I have time to update this one in time before RC1
#6
@
4 weeks ago
Tested this on WordPress 7.0 Beta 5 and the patch works as expected.
The layout in the Custom Links section looks better after removing floats. I’m also in favor of adjusting the button alignment, as it improves the overall consistency of the UI.
Before applying the patch:-
https://prnt.sc/gZZ_JZ8RlCfI
After applying the patch:-
https://prnt.sc/F-0He1AnD-hk
This ticket was mentioned in PR #11273 on WordPress/wordpress-develop by @nikunj8866.
4 weeks ago
#7
Trac ticket: https://core.trac.wordpress.org/ticket/64692
## Use of AI Tools
This ticket was mentioned in Slack in #core-test by nikunj8866. View the logs.
4 weeks ago
#9
@
4 weeks ago
Patch Testing Report
Patch Tested: https://github.com/WordPress/wordpress-develop/pull/11273
with language Afrikaans
Environment
- WordPress: 7.0-beta5-61991-src
- PHP: 8.2.29
- Server: nginx/1.29.4
- Database: mysqli (Server: 8.4.7 / Client: mysqlnd 8.2.29)
- Browser: Opera
- OS: macOS
- Theme: Twenty Fifteen 4.1
- MU Plugins: None activated
- Plugins:
- Code Snippets 3.9.5
- Test Reports 1.2.1
Steps taken
- Choose a locale
- View Menus > Appearance and extend Custom Links
- Observe layout bug due to
floats - Apply patch
- Observe
labelsproperly located above theinputfields and theirwidthset to100% - ✅ Patch is solving the problem




Current situation on fr_FR locale