cursor: pointer for dropdowns

master
Vitaliy Filippov 2019-09-03 11:59:06 +03:00
parent e08adccc60
commit 44590d501b
2 changed files with 6 additions and 0 deletions

View File

@ -219,6 +219,7 @@ export default class Selectbox extends React.PureComponent
className={theme.input +
(p.focused ? ' '+(theme.focused||'') : '') +
(this.props.disabled ? ' '+(theme.disabled||'') : '') +
(this.props.readOnly ? ' '+(theme.readonly||'') : '') +
(this.props.multiple
? ' '+(theme.multiple||'')
: (this.props.allowClear ? ' '+(theme.withClear||'') : '')) +

View File

@ -46,6 +46,11 @@
padding: 1px 0;
}
.input.readonly, .input.readonly .inputElement
{
cursor: pointer;
}
.suggestions
{
margin-top: 0;