diff --git a/src/case/colorchooser/colorchooser.js b/src/case/colorchooser/colorchooser.js index c321baf70..ac3efd910 100644 --- a/src/case/colorchooser/colorchooser.js +++ b/src/case/colorchooser/colorchooser.js @@ -32,8 +32,8 @@ BI.ColorChooser = BI.inherit(BI.Widget, { ref: function (_ref) { self.trigger = _ref; }, - width: o.width - 2, - height: o.height - 2 + width: o.el.type ? o.width : o.width - 2, + height: o.el.type ? o.height : o.height - 2 }, o.el), popup: { el: BI.extend({