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 {
} }
/* Inpost previw */ /* Inpost previw */
.preview-container .preview-container {
{
height: 100px;
width: 95%; width: 95%;
margin: 0 auto; text-align: center;
overflow: hidden; overflow-y: auto;
display: none;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
/*line-height: 0;*/
margin-bottom: 3px; margin-bottom: 3px;
position: relative;
} }
.image-preview
{ .image-preview {
max-height: 500px; max-height: 500px;
max-width: 100%; max-width: 100%;
margin: 0 auto; margin: 0 auto;
display: block; display: block;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
} }
/* video preview */ /* video preview */
.vimeo #imgOverlay { .vimeo #imgOverlay {

Loading…
Cancel
Save