From 93c72e32c51bfe85e123b84f13cd5e739d6a098d Mon Sep 17 00:00:00 2001 From: Alan Date: Thu, 17 Mar 2022 11:32:11 +0800 Subject: [PATCH] roojs-all.js roojs-debug.js Roo/htmleditor/BlockFigure.js --- Roo/htmleditor/BlockFigure.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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%', }, -- 2.39.2