Fix initial size of the image preview in the mediatag dialog

This commit is contained in:
yflory
2018-09-04 10:45:18 +02:00
parent 525703e7d8
commit ab07554d0b
2 changed files with 18 additions and 8 deletions

View File

@@ -47,6 +47,23 @@ body.cp-app-pad {
display: block;
overflow-x: auto;
max-height: 100vh;
.cke_dialog_contents {
#ck-mediatag-preview {
margin: auto;
resize: both;
max-width: 300px;
max-height: 300px;
overflow: auto;
}
media-tag {
display: flex;
border-style: solid;
border-color: black;
&> * {
flex-shrink: 0;
}
}
}
}
.cke_wysiwyg_frame {