CSS is broken for columns on form actions
Maintainers usually reply within 1 day
A pull request for this has already been merged.
- #7869 by @javiereguiluz — merged
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- css
- Domain
- frontend
Research direction
The layout comes from the .flex-fill rule, which is applied to form columns created with FormField::addColumn(6). Find where that rule is defined in the bundle's CSS assets, then reproduce with two columns of uneven height to confirm the stretching. Test the proposed flex-grow change, and check that other .flex-fill uses still render correctly. Done means the columns no longer shift their contents down, with no regressions in other form layouts.
Written by the indexing model from the issue text.
Description
Create two columns: FormField::addColumn(6). If one column is hight, another column streches to it's size, and elements of the column shifts down.
To improve this, I change flex-grow property of flex-fill CSS class to 0.
Original:
.flex-fill {
flex: 1 1 auto !important;
}
Changed:
.flex-fill {
flex: 0 1 auto !important;
}
- Dominant language
- PHP
- Stars
- 4.3k
- Forks
- 1.1k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 28
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
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.
More from EasyCorp/EasyAdminBundle
-
design
Difficulty 2/5 Under an hour Newbie friendliness 88/100
EasyCorp/EasyAdminBundle#7879 ·
Maintainers usually reply within 1 day
-
design
Difficulty 1/5 Under an hour Newbie friendliness 90/100
EasyCorp/EasyAdminBundle#7875 ·
Maintainers usually reply within 1 day
-
Form stays unsubmitted when fields are disabled and boolean toggles are uncheckedPossibly taken @Amoifr claimed this 6 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
EasyCorp/EasyAdminBundle#7819 · 6 comments ·
Maintainers usually reply within 1 day
-
design
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
EasyCorp/EasyAdminBundle#7761 ·
Maintainers usually reply within 1 day
-
Override a template at runtime, for the current requestPossibly taken @phcorp claimed this 1 day ago. Openfeature
Difficulty 3/5 1-2 days Newbie friendliness 25/100
EasyCorp/EasyAdminBundle#7897 ·
Maintainers usually reply within 1 day
All issues in EasyCorp/EasyAdminBundle
Similar issues
-
fixed
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
firefly-iii/firefly-iii#13150 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
TYPO3-Solr/ext-solr#4828 ·
Maintainers usually reply within 5 days
-
sync-en
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Перевод устарел
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day