Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
.block-editor-block-list__block.is-highlighted,
.block-editor-block-list__block.is-highlighted ~ .is-multi-selected,
&.is-navigate-mode .block-editor-block-list__block.is-selected,
& .is-block-moving-mode.block-editor-block-list__block.has-child-selected,
Copy link
Contributor Author

@t-hamano t-hamano Aug 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The .is-block-moving-mode class is given only to the selected block. Therefore, there can never be a block that has both the .is-block-moving-mode class and the .has-child-selected class.

.block-editor-block-list__block:not([contenteditable]):focus {
outline: none;

Expand Down Expand Up @@ -113,8 +112,6 @@

// Moving blocks using keyboard (Ellipsis > Move).
& .is-block-moving-mode.block-editor-block-list__block.is-selected {
box-shadow: none;
outline: none;
Comment on lines -116 to -117
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The absence of this reset style does not affect the indicator.


&::after {
content: "";
Expand All @@ -130,6 +127,8 @@
top: -$default-block-margin * 0.5;
border-radius: $radius-block-ui;
border-top: 4px solid $gray-400;
bottom: auto;
box-shadow: none;
}
}

Expand Down