WordPress / WordPress/secure-custom-fields
Field markup issues on edit User page
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 131
- Forks
- 64
- Avg merge
- 10m
- Merged PRs (30d)
- 1
Description
Hi!
I found several issues related to the visual display of some fields on the user page.
- Post Object field stretches to the full width of the page, although all fields in this section have a maximum width of 25em. At the same time, the normal select is displayed correctly.
- On the same user page in the mobile version, all fields do not correspond to the native design of standard fields.
- When adding a Tab, it is heavily indented to the left. Overall okay, but in the mobile version it looks very strange.
I used this quick fix for these issues. Maybe it will help.
body.user-edit-php {
.form-table {
.acf-hl.acf-tab-group {
padding-left: 5px !important;
}
.acf-field {
.acf-label {
@include media.mobile {
padding: 10px 0 0;
margin: 0;
}
}
.acf-input {
@include media.mobile {
padding: 4px 0 6px;
}
input {
@include media.mobile {
width: 100%;
max-width: 100% !important;
}
}
.select2 {
width: 100%;
max-width: 25em;
@include media.mobile {
max-width: 100%;
}
}
}
}
}
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the WordPress edit User page and locate the styles matching body.user-edit-php, including the .acf-field, .acf-input, .select2, and .acf-tab-group rules shown in the report. Compare the field widths, mobile spacing, and tab indentation with the supplied screenshots; done means these fields match the standard user-edit design on desktop and mobile.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, scss, wordpress
- Domain
- design, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100