Correctly resize big images in preview

http://meta.discourse.org/t/correctly-resize-big-images-in-preview/4426/4
This commit is contained in:
James A. Anderson 2013-06-21 18:13:52 -04:00
parent 456cff17f8
commit 9c617d051e
1 changed files with 1 additions and 2 deletions

View File

@ -293,8 +293,7 @@
#wmd-input, #wmd-preview {
color: $black;
img {
// Otherwise we get the wrong size in JS
max-width: none;
max-width: 100%;
border-radius: 4px;
moz-border-radius: 4px;
webkit-border-radius: 4px;