Skip to content

Commit

Permalink
Swapped for helperClass
Browse files Browse the repository at this point in the history
  • Loading branch information
ranbena committed Jul 30, 2019
1 parent f6a6c22 commit aaad44e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions client/app/components/Parameters.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ export class Parameters extends React.Component {
axis="xy"
useDragHandle
lockToContainerEdges
helperClass="parameter-dragged"
updateBeforeSortStart={this.onBeforeSortStart}
onSortEnd={this.moveParameter}
>
Expand Down
3 changes: 1 addition & 2 deletions client/app/components/Parameters.less
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
margin: 4px 0 0 4px;
}

// dragged element
body > & {
&.parameter-dragged {
box-shadow: 0 4px 9px -3px rgba(102, 136, 153, 0.15);
}
}
Expand Down

0 comments on commit aaad44e

Please sign in to comment.