mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 04:31:56 +08:00
Merge pull request #1071 from jamesaanderson/master
Correctly resize big images in preview
This commit is contained in:
commit
4f2e72b6f7
|
@ -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 New Issue
Block a user