Merge pull request #1403 from ONLYOFFICE/feature/bug-fixes

[DE mobile] Fix Bug 54281
This commit is contained in:
maxkadushkin 2021-12-10 15:01:08 +03:00 committed by GitHub
commit a909e7dc5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions

View file

@ -888,6 +888,16 @@ input[type="number"]::-webkit-inner-spin-button {
height: 100%;
}
.dropdown-list {
&__placeholder {
opacity: 0.6;
.item-inner {
border-bottom: 1px solid var(--f7-list-item-border-color);
}
}
}

View file

@ -8,9 +8,9 @@ const PageDropdownList = props => {
return (
<View style={props.style}>
<Page>
<List>
<List className="dropdown-list">
{listItems.length && listItems.map((elem, index) => (
<ListItem key={index} className='no-indicator' style={index === 0 ? {opacity: 0.6} : null} title={elem.caption} onClick={() => props.onChangeItemList(elem.value)}></ListItem>
<ListItem key={index} className={'no-indicator ' + (index === 0 ? 'dropdown-list__placeholder' : '')} title={elem.caption} onClick={() => props.onChangeItemList(elem.value)}></ListItem>
))}
</List>
</Page>