Skip to content

Commit

Permalink
fix DnD styles
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense committed May 2, 2017
1 parent aecb5da commit 7807dd7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
3 changes: 2 additions & 1 deletion examples/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ h4 {

.examples {
position: relative;
height: 100vh;
min-height: 100vh;
height: min-content;
display: flex;
flex-direction: column;
}
Expand Down
18 changes: 8 additions & 10 deletions src/addons/dragAndDrop/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,17 @@
}

.rbc-event {
transition: opacity 250ms;
transition: opacity 150ms;
pointer-events: all;
}

.rbc-addons-dnd-is-dragging {
& .rbc-event {
pointer-events: none;
opacity: .35;
}
}

.rbc-addons-dnd-dragging {
&.rbc-addons-dnd-is-dragging .rbc-event {
pointer-events: none;
opacity: .35;
opacity: .50;
}

// .rbc-addons-dnd-dragging {
// pointer-events: none;
// opacity: .35;
// }
}

0 comments on commit 7807dd7

Please sign in to comment.