projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30e1054
)
modify horizontal padding on image
author
Alan Knowles
<alan@roojs.com>
Wed, 9 Mar 2022 06:49:14 +0000
(14:49 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 9 Mar 2022 06:49:14 +0000
(14:49 +0800)
Roo/htmleditor/BlockFigure.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/BlockFigure.js
b/Roo/htmleditor/BlockFigure.js
index
16b441c
..
8bc7f8e
100644
(file)
--- a/
Roo/htmleditor/BlockFigure.js
+++ b/
Roo/htmleditor/BlockFigure.js
@@
-327,7
+327,7
@@
Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
maxWidth : this.align == 'center' ? '100% !important' : (this.width + ' !important'),
width : this.align == 'center' ? '100%' : this.width,
margin: '0px',
- padding:
'10px
0',
+ padding:
this.align == 'center' ? '10px 0' : '
0',
textAlign : this.align // seems to work for email..
},