Skip to content

Commit

Permalink
Restore the drag line indicator.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joen Asmussen committed Jan 21, 2020
1 parent 52b0371 commit e33f520
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion packages/block-editor/src/components/block-list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,18 @@
}
}

// Between-blocks dropzone line indicator.
&.is-drop-target::before {
border-top: 3px solid theme(primary);
content: "";
position: absolute;
z-index: 0;
pointer-events: none;
transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear;
right: 0;
left: 0;
bottom: -$default-block-margin / 2;
border-radius: $radius-block-ui;
border-top: 4px solid $blue-medium-focus;
}
}

Expand Down Expand Up @@ -521,3 +531,7 @@
opacity: 0;
}
}

.is-dragging-components-draggable .components-tooltip {
display: none;
}

0 comments on commit e33f520

Please sign in to comment.