- Jan 28, 2020
- 849
- 7
- 276
- 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;
}