- Jan 28, 2020
- 862
- 7
- 306
- Language
- English
The attachment preview can be improved by adding the following code to your extra.less template:
This will ensure the attachment preview is completely visible and makes identifying the attachment easier.


Code:
// attachment preview
.file-preview img, .file-preview video {
object-fit: contain;
}
Before:

After:
