-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #6003 Fix the alignment of form fields in some cases (javiereguiluz)
This PR was merged into the 4.x branch. Discussion ---------- Fix the alignment of form fields in some cases When using Bootstrap, you must be careful when nesting `<div class="row">`. We didn't do this correctly in all cases, so the column/fieldsets sometimes didn't span the entire available width. | Before this PR | After this PR | -------------- | ------------- | <img width="245" alt="Captura de pantalla 2023-11-04 a las 12 29 09" src="https://github.com/EasyCorp/EasyAdminBundle/assets/73419/e86b90a6-6c28-43dd-9666-e1bfa57491a4"> | <img width="216" alt="Captura de pantalla 2023-11-04 a las 12 28 45" src="https://github.com/EasyCorp/EasyAdminBundle/assets/73419/a7b99fc9-3664-4c97-8b00-099d1a21c610"> The trick is to remove the first `<div class="row">` that wraps everything. Whenever we need to wrap fields in rows (inside tabs, columns or fieldsets) we already add a row, so we don't need that extra one. Commits ------- 9d27eb5 Fix the alignment of form fields in some cases
- Loading branch information
Showing
4 changed files
with
25 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters