Browse Source

fix image preview in ~calm~ theme

master
Simon Grim 9 years ago
parent
commit
4d11c5f5c6
  1. 22
      theme_calm/css/style.css

22
theme_calm/css/style.css

@ -1362,27 +1362,23 @@ textarea.splited-post { @@ -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 {

Loading…
Cancel
Save