mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
Correctly resize big images in preview
http://meta.discourse.org/t/correctly-resize-big-images-in-preview/4426/4
This commit is contained in:
parent
456cff17f8
commit
9c617d051e
1 changed files with 1 additions and 2 deletions
|
@ -293,8 +293,7 @@
|
||||||
#wmd-input, #wmd-preview {
|
#wmd-input, #wmd-preview {
|
||||||
color: $black;
|
color: $black;
|
||||||
img {
|
img {
|
||||||
// Otherwise we get the wrong size in JS
|
max-width: 100%;
|
||||||
max-width: none;
|
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
moz-border-radius: 4px;
|
moz-border-radius: 4px;
|
||||||
webkit-border-radius: 4px;
|
webkit-border-radius: 4px;
|
||||||
|
|
Loading…
Reference in a new issue