projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
89a253f
)
Roo/htmleditor/BlockFigure.js
author
Alan
<alan@roojs.com>
Thu, 17 Mar 2022 03:31:45 +0000
(11:31 +0800)
committer
Alan
<alan@roojs.com>
Thu, 17 Mar 2022 03:31:45 +0000
(11:31 +0800)
Roo/htmleditor/BlockFigure.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/BlockFigure.js
b/Roo/htmleditor/BlockFigure.js
index
6c50282
..
530ff6e
100644
(file)
--- 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,
fontSize : '16px',
lineHeight : '24px',
display : this.caption_display,
- maxWidth :
this.width
+ ' !important',
+ maxWidth :
(this.align == 'center' ? this.width : 100% )
+ ' !important',
margin: m,
margin: m,
- width: this.
width
+ width: this.
align == 'center' ? this.width : 100%,
},
},