Skip to content

Commit

Permalink
Polish float fix post-rebase.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joen Asmussen committed Jan 21, 2020
1 parent e33f520 commit 19d6ca7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/block-editor/src/components/block-list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,10 @@
bottom: 0;
left: 0;
right: 0;
}

.is-block-content, // Floats.
&::after { // Everything else.
// 2px outside.
box-shadow: 0 0 0 2px $blue-medium-focus;
border-radius: $radius-block-ui;
Expand All @@ -170,6 +173,13 @@
}
}
}

// Hide the focus indicator for collapsed blocks.
// These serve as only as column containers for floated blocks.
.block-editor-block-list__block.is-block-collapsed::after {
content: none;
}

}


Expand Down

0 comments on commit 19d6ca7

Please sign in to comment.