mirror of
https://github.com/discourse/discourse.git
synced 2025-05-01 21:54:35 +08: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
@ -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…
x
Reference in New Issue
Block a user