Skip to content

Commit

Permalink
Show drop zone background when file is dragged (#8752)
Browse files Browse the repository at this point in the history
* Fixes regression preventing background color from showing when dropping a file onto a block
  • Loading branch information
stoyan0v authored and earnjam committed Aug 15, 2018
1 parent c72e8b7 commit aefe0dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/components/src/drop-zone/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,14 @@
}

&.is-dragging-over-element {
background-color: rgba($blue-dark-900, 0.8);

.components-drop-zone__content {
display: block;
}

&.is-dragging-file {
background-color: rgba($blue-dark-900, 0.8);
}
}
}

Expand Down

0 comments on commit aefe0dd

Please sign in to comment.