[DE mobile] Fix edit header
This commit is contained in:
parent
261f4d701b
commit
2d91270e18
|
@ -22,19 +22,19 @@ const EditHeader = props => {
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<List>
|
<List>
|
||||||
<ListItem title={_t.textDifferentFirstPage}>
|
<ListItem title={_t.textDifferentFirstPage}>
|
||||||
<Toggle checked={isDiffFirst} onToggleChange={() => {props.onDiffFirst(!isDiffFirst)}}/>
|
<Toggle checked={isDiffFirst} onChange={() => {props.onDiffFirst(!isDiffFirst)}}/>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
<ListItem title={_t.textDifferentOddAndEvenPages}>
|
<ListItem title={_t.textDifferentOddAndEvenPages}>
|
||||||
<Toggle checked={isDiffOdd} onToggleChange={() => {props.onDiffOdd(!isDiffOdd)}}/>
|
<Toggle checked={isDiffOdd} onChange={() => {props.onDiffOdd(!isDiffOdd)}}/>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
<ListItem title={_t.textLinkToPrevious} className={linkToPrev===null ? 'disabled' : ''}>
|
<ListItem title={_t.textLinkToPrevious} className={linkToPrev===null ? 'disabled' : ''}>
|
||||||
<Toggle checked={boolLinkToPrev} onToggleChange={() => {props.onSameAs(!boolLinkToPrev)}}/>
|
<Toggle checked={boolLinkToPrev} onChange={() => {props.onSameAs(!boolLinkToPrev)}}/>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
</List>
|
</List>
|
||||||
<BlockTitle>{_t.textPageNumbering}</BlockTitle>
|
<BlockTitle>{_t.textPageNumbering}</BlockTitle>
|
||||||
<List>
|
<List>
|
||||||
<ListItem title={_t.textContinueFromPreviousSection}>
|
<ListItem title={_t.textContinueFromPreviousSection}>
|
||||||
<Toggle checked={startPageNumber<0} onToggleChange={() => {props.onNumberingContinue(!(startPageNumber<0), _startAt)}}/>
|
<Toggle checked={startPageNumber<0} onChange={() => {props.onNumberingContinue(!(startPageNumber<0), _startAt)}}/>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
<ListItem title={_t.textStartAt} className={startPageNumber<0 ? 'disabled' : ''}>
|
<ListItem title={_t.textStartAt} className={startPageNumber<0 ? 'disabled' : ''}>
|
||||||
{!isAndroid && <div slot='after-start'>{_startAt}</div>}
|
{!isAndroid && <div slot='after-start'>{_startAt}</div>}
|
||||||
|
|
Loading…
Reference in a new issue