[PE mobile] Corrected buttons for android

This commit is contained in:
SergeyEzhin 2021-05-04 14:12:00 +03:00
parent 3a1c2ca2a2
commit 5e70754a55
3 changed files with 6 additions and 6 deletions

View file

@ -135,8 +135,8 @@ const PageLink = props => {
onChange={(event) => {setScreenTip(event.target.value)}}
/>
</List>
<List>
<ListButton title={_t.textInsert}
<List className="buttons-list">
<ListItem title={_t.textInsert} href="#"
className={`button-fill button-raised${typeLink === 1 && link.length < 1 && ' disabled'}`}
onClick={() => {
props.onInsertLink(typeLink, (typeLink === 1 ?

View file

@ -158,8 +158,8 @@ const PageLink = props => {
onChange={(event) => {setScreenTip(event.target.value)}}
/>
</List>
<List>
<ListButton title={_t.textEditLink}
<List className="buttons-list">
<ListItem title={_t.textEditLink} href="#"
className={`button-fill button-raised${typeLink === 1 && link.length < 1 && ' disabled'}`}
onClick={() => {
props.onEditLink(typeLink, (typeLink === 1 ?
@ -167,7 +167,7 @@ const PageLink = props => {
{linkTo: linkTo, numberTo: numberTo, display: stateDisplay, tip: screenTip, displayDisabled: displayDisabled}));
}}
/>
<ListButton title={_t.textRemoveLink}
<ListItem title={_t.textRemoveLink} href="#"
className={`button-fill button-red`}
onClick={() => {
props.onRemoveLink()

View file

@ -423,7 +423,7 @@ const EditTable = props => {
</Row>
</ListItem>
<List className="buttons-list">
<ListItem title={_t.textRemoveTable} onClick={() => {props.onRemoveTable()}} className='button button-raised button-red'></ListItem>
<ListItem href="#" title={_t.textRemoveTable} onClick={() => {props.onRemoveTable()}} className='button button-raised button-red'></ListItem>
</List>
</List>
<List>