Merge pull request #350 from akhileshdarjee/master
[fix] [minor] image container set to max width 100%
This commit is contained in:
commit
d2bf94e7f4
1 changed files with 1 additions and 1 deletions
|
|
@ -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]) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue