Skip to content

Commit d193f60

Browse files
committed
bug EasyCorp#7476 Fix dropdown overflow in multi-column forms (javiereguiluz)
This PR was squashed before being merged into the 4.x branch. Discussion ---------- Fix dropdown overflow in multi-column forms Fixes EasyCorp#7461. Commits ------- fd6b430 Fix dropdown overflow in multi-column forms
2 parents 5a186c8 + fd6b430 commit d193f60

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

assets/css/easyadmin-theme/forms.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,8 +496,13 @@ label.form-check-label {
496496
overflow: clip;
497497
}
498498

499-
/* allow contents (e.g. dropdowns) to overflow when fieldset is expanded */
500-
.form-fieldset-body.show:not(.collapsing),
499+
/* allow contents (e.g. dropdowns) to overflow when fieldset is expanded;
500+
use overflow-inline to prevent content from spilling into neighboring fieldsets
501+
in multi-column layouts, while overflow-block lets dropdowns extend downward */
502+
.form-fieldset-body.show:not(.collapsing) {
503+
overflow-inline: clip;
504+
overflow-block: visible;
505+
}
501506
.form-fieldset-body.show:not(.collapsing) > .row {
502507
overflow: visible;
503508
}
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/entrypoints.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"entrypoints": {
33
"app": {
44
"css": [
5-
"/app.81f6af73.css"
5+
"/app.98533a09.css"
66
],
77
"js": [
88
"/app.8f681b52.js"

public/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"app.css": "app.81f6af73.css",
2+
"app.css": "app.98533a09.css",
33
"app.js": "app.8f681b52.js",
44
"form.js": "form.5bccac01.js",
55
"page-layout.js": "page-layout.6e9fe55d.js",

0 commit comments

Comments
 (0)