From ef3c334f5ea327bca031a92970770e062d7d8083 Mon Sep 17 00:00:00 2001 From: Akhilesh Darjee Date: Tue, 10 Dec 2013 16:22:14 +0530 Subject: [PATCH] [fix] [minor] image container set to max width 100% --- public/js/wn/form/control.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/wn/form/control.js b/public/js/wn/form/control.js index 0a278e4b6a..462062d922 100644 --- a/public/js/wn/form/control.js +++ b/public/js/wn/form/control.js @@ -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]) {