mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -05:00
remove !important override from img here
This commit is contained in:
parent
2da5d2311b
commit
86b14da69f
1 changed files with 2 additions and 2 deletions
|
@ -122,8 +122,8 @@ Discourse.ComposerView = Discourse.View.extend(Ember.Evented, {
|
|||
|
||||
ensureMaximumDimensionForImagesInPreview: function() {
|
||||
$('<style>#wmd-preview img, .cooked img {' +
|
||||
'max-width:' + Discourse.SiteSettings.max_image_width + 'px!important;' +
|
||||
'max-height:' + Discourse.SiteSettings.max_image_height + 'px!important;' +
|
||||
'max-width:' + Discourse.SiteSettings.max_image_width + 'px;' +
|
||||
'max-height:' + Discourse.SiteSettings.max_image_height + 'px;' +
|
||||
'}</style>'
|
||||
).appendTo('head');
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue