projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Roo/htmleditor/BlockFigure.js
[roojs1]
/
Roo
/
htmleditor
/
BlockFigure.js
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%,
},
},