[DE mobile] Fix Bug 54281
This commit is contained in:
parent
2dd106c435
commit
b43516d807
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue