fix file upload preview size

pull/1/head
ansuz 2021-09-01 17:35:00 +05:30
parent 22dd995a28
commit b4775a0d50
1 changed files with 6 additions and 0 deletions
customize.dist/src/less2/include

View File

@ -275,8 +275,14 @@
}
#cp-upload-preview-container {
max-width: 100%;
max-height: 300px;
overflow: auto;
media-tag {
max-width: 100%;
iframe {
// pdfs don't take the full width unless we tell them to
width: 100%;
}
& > * {
max-width: 100%;
}