fix image preview in ~calm~ theme

This commit is contained in:
Simon Grim 2015-08-10 04:31:15 +05:00
parent 2d05068159
commit 4d11c5f5c6

View File

@ -1362,27 +1362,23 @@ textarea.splited-post {
}
/* Inpost previw */
.preview-container
{
height: 100px;
.preview-container {
width: 95%;
margin: 0 auto;
overflow: hidden;
display: none;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
/*line-height: 0;*/
text-align: center;
overflow-y: auto;
margin-bottom: 3px;
position: relative;
}
.image-preview
{
.image-preview {
max-height: 500px;
max-width: 100%;
margin: 0 auto;
display: block;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
/* video preview */
.vimeo #imgOverlay {