Fix modal items cannot scroll on touch devices (#10605)
parent
3c6f8de45a
commit
92ced1e94b
|
@ -64,7 +64,7 @@ export default class ActionsModal extends ImmutablePureComponent {
|
|||
<div className='modal-root__modal actions-modal'>
|
||||
{status}
|
||||
|
||||
<ul>
|
||||
<ul className={classNames({ 'with-status': !!status })}>
|
||||
{this.props.actions.map(this.renderAction)}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -4085,6 +4085,11 @@ a.status-card.compact:hover {
|
|||
ul {
|
||||
overflow-y: auto;
|
||||
flex-shrink: 0;
|
||||
max-height: 80vh;
|
||||
|
||||
&.with-status {
|
||||
max-height: calc(80vh - 75px);
|
||||
}
|
||||
|
||||
li:empty {
|
||||
margin: 0;
|
||||
|
|
Loading…
Reference in New Issue