From: Alan Date: Thu, 17 Mar 2022 03:32:11 +0000 (+0800) Subject: roojs-all.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=93c72e32c51bfe85e123b84f13cd5e739d6a098d roojs-all.js roojs-debug.js Roo/htmleditor/BlockFigure.js --- diff --git a/Roo/htmleditor/BlockFigure.js b/Roo/htmleditor/BlockFigure.js index 530ff6e75d..45f5be11c1 100644 --- a/Roo/htmleditor/BlockFigure.js +++ b/Roo/htmleditor/BlockFigure.js @@ -348,9 +348,9 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, { fontSize : '16px', lineHeight : '24px', display : this.caption_display, - maxWidth : (this.align == 'center' ? this.width : 100% ) + ' !important', + maxWidth : (this.align == 'center' ? this.width : '100%' ) + ' !important', margin: m, - width: this.align == 'center' ? this.width : 100%, + width: this.align == 'center' ? this.width : '100%', },