[DE mobile] Fix edit settings

This commit is contained in:
JuliaSvinareva 2020-11-06 17:46:41 +03:00
parent 1efdd7d52f
commit 09d3ff76e4
2 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@ const PageWrap = props => {
onClick={() => {
props.onAlign(Asc.c_oAscAlignH.Center)
}}>center</a>
<a className={'button' + (align === Asc.c_oAscAlignH.Righ ? ' active' : '')}
<a className={'button' + (align === Asc.c_oAscAlignH.Right ? ' active' : '')}
onClick={() => {
props.onAlign(Asc.c_oAscAlignH.Righ)
}}>right</a>

View file

@ -50,9 +50,9 @@ const PageWrap = props => {
onClick={() => {
props.onShapeAlign(Asc.c_oAscAlignH.Center)
}}>center</a>
<a className={'button' + (align === Asc.c_oAscAlignH.Righ ? ' active' : '')}
<a className={'button' + (align === Asc.c_oAscAlignH.Right ? ' active' : '')}
onClick={() => {
props.onShapeAlign(Asc.c_oAscAlignH.Righ)
props.onShapeAlign(Asc.c_oAscAlignH.Right)
}}>right</a>
</Row>
</ListItem>