Problem/Motivation

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.

Issue fork acquia_dam-3382179

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ctrlADel created an issue. See original summary.

japerry made their first commit to this issue’s fork.

  • japerry committed ba9d8b8b on 1.0.x authored by ctrlADel
    Issue #3382179: Media library "Insert Selected" can become impossible to...
japerry’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

aurora.luzzardi’s picture

Hi!

This issue seems that been reverted by another commit in this issue: https://www.drupal.org/project/acquia_dam/issues/3398573
I created a new issue here: https://www.drupal.org/project/acquia_dam/issues/3450383