mirror of
https://github.com/mue/mue.git
synced 2026-06-13 03:58:49 +02:00
fix: widget order ui bugs
This commit is contained in:
@@ -150,4 +150,5 @@ input[type=color]::-moz-color-swatch {
|
||||
.sortableitem {
|
||||
width: auto !important;
|
||||
color: var(--modal-text) !important;
|
||||
cursor: move;
|
||||
}
|
||||
@@ -51,7 +51,7 @@ export default class OrderSettings extends React.PureComponent {
|
||||
<>
|
||||
<h2>Order</h2>
|
||||
<span className='modalLink' onClick={this.reset}>Reset</span>
|
||||
<SortableContainer onSortEnd={this.onSortEnd}>
|
||||
<SortableContainer onSortEnd={this.onSortEnd} lockAxis='y' lockToContainerEdges disableAutoscroll>
|
||||
{this.state.items.map((value, index) => (
|
||||
<SortableItem key={`item-${value}`} index={index} value={value} />
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user