You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For images, the modal appears correctly with an image follow by the fields.
For PDF, the modal appears with a generic PDF image but it sized to be 1000px and scales out of it parent container. The parent container (image-preview-container) has a set height of 190px so an easy fix is to just set the child to a height of 190px as well. A white background on the parent with the child element using background-image set to contain would be better to remove an possible responsive issues.
See attachments.
Steps to reproduce
Save a PDF file and double click to edit
Additional info
Craft version: Craft Pro 3.0.20
PHP version: 7.1.8
Database driver & version: MySQL 5.5.56
Plugins & versions:
The text was updated successfully, but these errors were encountered:
Description
An asset entry modal appear incorrectly for PDF.
For images, the modal appears correctly with an image follow by the fields.
For PDF, the modal appears with a generic PDF image but it sized to be 1000px and scales out of it parent container. The parent container (image-preview-container) has a set height of 190px so an easy fix is to just set the child to a height of 190px as well. A white background on the parent with the child element using background-image set to contain would be better to remove an possible responsive issues.
See attachments.
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: