Skip to content

Commit

Permalink
Use opacity to communicate what block is being dragged.
Browse files Browse the repository at this point in the history
Previous to this refactor, it used to be a div inside the block wrapper
that would become visible when the block was being dragged. That
div would appear as grey. By refactoring the drag handler to the
breadcrumb we no longer have that div, so we seek to use
a different technique to communicate the same behavior.

I also think is nicer to show the original content.
  • Loading branch information
oandregal committed Aug 13, 2018
1 parent 7fa1a98 commit fbd9d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/components/block-list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
.editor-block-list__block {
&.is-hidden *,
&.is-hidden > * {
visibility: hidden;
opacity: 0.8;
}

.editor-block-list__block-edit .reusable-block-edit-panel * {
Expand Down

0 comments on commit fbd9d0d

Please sign in to comment.