Problem/Motivation
This is the same issue as this: https://www.drupal.org/project/acquia_dam/issues/3382179
That got reverted on this: https://www.drupal.org/project/acquia_dam/issues/3398573
I will just copy and past from the initial ticket:
On some pages where we are using acquia_dam with site studio we are noticing that it's impossible to scroll to the bottom of the media library modal making it very difficult to select media for the component.
The problematic code appears to be
https://git.drupalcode.org/project/acquia_dam/-/blob/1.0.x/css/media-lib...
.ui-dialog.media-library-widget-modal.ui-widget {
max-width: 100%;
top: 0 !important;
width: 100% !important;
height: 100% !important;
left: 0 !important;
margin: 0 !important;
}
which is making the modal bigger then the screen of the user.
A simple change to `height: 100vh;` should accomplish the goal of making the modal the full size of the page while also making it impossible to be bigger then the screen.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3450383.patch | 381 bytes | aluzzardi |
Comments
Comment #2
aluzzardiSend a new patch file to be applied on version 1.0.12
Comment #5
japerryugh, sorry about that. Re-committed to both 1.0 and 1.1 branches
Comment #7
jds1This is still an issue in 1.0.14
Comment #8
danflanagan8This is biting me in 1.1.1
I just opened #3535489: Media library "Insert Selected" can still become impossible to scroll to