- Issue created by @danflanagan8
- @danflanagan8 opened merge request.
Followup to a followup
Media library "Insert Selected" can become impossible to scroll to
We have this problem when using the medial library from within a modal (via layout_builder_iframe_modal). My screen has to be gigantic before I can see the "Insert Selected" button.
The issue seems to more or less stem from the choce of magic number in
.ui-dialog.media-library-widget-modal.ui-widget #drupal-modal {
height: 78% !important;
max-height: none !important;
}
Maybe that could be set via js based on the true heights of everything.
But that's probably more than we need. Why don't we just allow scrolling when there's overflow.
Active
1.1
Code