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.

CommentFileSizeAuthor
#2 3450383.patch381 bytesaluzzardi

Comments

aluzzardi created an issue. See original summary.

aluzzardi’s picture

StatusFileSize
new381 bytes

Send a new patch file to be applied on version 1.0.12

  • japerry committed 671db4c1 on 1.0.x
    Issue #3450383 by aluzzardi: Media library "Insert Selected" can become...

  • japerry committed f5ced480 on 1.1.x
    Issue #3450383 by aluzzardi: Media library "Insert Selected" can become...
japerry’s picture

Status: Active » Fixed

ugh, sorry about that. Re-committed to both 1.0 and 1.1 branches

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

jds1’s picture

This is still an issue in 1.0.14

danflanagan8’s picture