diff --git a/src/StyleWrapper/StyleWrapperView.jsx b/src/StyleWrapper/StyleWrapperView.jsx index 0e976b7..7fe7fea 100644 --- a/src/StyleWrapper/StyleWrapperView.jsx +++ b/src/StyleWrapper/StyleWrapperView.jsx @@ -28,7 +28,7 @@ export default (props) => { 'block align', style?.cssClass, { - center: !Boolean(align), + left: !Boolean(align), }, align, )} diff --git a/src/Widgets/Size.jsx b/src/Widgets/Size.jsx index d1886c9..1d5a6b2 100644 --- a/src/Widgets/Size.jsx +++ b/src/Widgets/Size.jsx @@ -15,11 +15,13 @@ const SizeWidget = (props) => { const { id, onChange, value } = props; return ( - onChange(id, size)} - data={{ size: value }} - block={id} - /> + + onChange(id, size)} + data={{ size: value }} + block={id} + /> + ); }; diff --git a/src/Widgets/TextAlign.jsx b/src/Widgets/TextAlign.jsx index 7bbf6dd..9740272 100644 --- a/src/Widgets/TextAlign.jsx +++ b/src/Widgets/TextAlign.jsx @@ -18,22 +18,24 @@ export default (props) => { const { value, onChange, id } = props; return ( - + {VALUE_MAP.map(([name, icon]) => ( - { - onChange(id, name); - }} - > - - + + { + onChange(id, name); + }} + > + + + ))} - + ); };