Merge pull request #350 from akhileshdarjee/master

[fix] [minor] image container set to max width 100%
This commit is contained in:
Anand Doshi 2013-12-10 03:56:54 -08:00
commit d2bf94e7f4

View file

@ -104,7 +104,7 @@ wn.ui.form.ControlImage = wn.ui.form.Control.extend({
this._super();
var me = this;
this.$wrapper
.css({"margin-bottom": "10px", "margin-right": "15px", "float": "right", "text-align": "right"})
.css({"margin-bottom": "10px", "margin-right": "15px", "float": "right", "text-align": "right", "max-width": "100%"})
.on("refresh", function() {
me.$wrapper.empty();
if(me.df.options && me.frm.doc[me.df.options]) {