?
avatar C-Lodder
C-Lodder
19 May 2020

Steps to reproduce the issue

  1. Download https://unsplash.com/photos/xnEZYWmfPwU/download?force=true (original size)
  2. Upload to the Media Manage or place in your images directory
  3. Double click the image to preview it

Expected result

Full image is shown (scaled down) or the ability to move the image about

Actual result

Half the image is cropped and you cannot scroll down to view the other half

avatar C-Lodder C-Lodder - open - 19 May 2020
avatar joomla-cms-bot joomla-cms-bot - change - 19 May 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 May 2020
avatar ghost
ghost - comment - 23 Sep 2020

Issue confirmed.

avatar brianteeman
brianteeman - comment - 2 Oct 2020

I am not a css gut but the problem is valid and is coming from
.media-preview-modal .modal-dialog {

.media-preview-modal {
  color: $modal-preview-text-color;

  .modal-dialog {
    max-width: 70vw;
    max-height: 70hw;
}

I can make it nice for portrait images or landscape images but not both. I am sure a css guru can fix it

avatar Quy Quy - change - 26 Apr 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-04-26 00:03:05
Closed_By Quy
avatar Quy Quy - close - 26 Apr 2021
avatar Quy
Quy - comment - 26 Apr 2021

Please test PR #33323

Add a Comment

Login with GitHub to post a comment