Add helper class and style the helper

This commit is contained in:
pathmapper 2018-11-02 14:25:31 +01:00
parent 59ad91fdf8
commit a74eb2989c
2 changed files with 11 additions and 3 deletions

View file

@ -204,6 +204,7 @@ export default class LayerList extends React.Component {
render() {
return <LayerListContainerSortable
{...this.props}
helperClass='sortableHelper'
onSortEnd={this.props.onMoveLayer.bind(this)}
useDragHandle={true}
/>

View file

@ -234,3 +234,10 @@
min-width: 28px;
}
}
// Clone of the element which is sorted
.sortableHelper {
font-family: $font-family;
z-index: 9999;
border: none;
}