Skip to content

Commit

Permalink
Merge pull request #263 from paulkaplan/fix-blocks-borders
Browse files Browse the repository at this point in the history
Fix block editor borders
  • Loading branch information
paulkaplan committed Mar 21, 2017
2 parents 5350b7a + 915b286 commit 588445e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/components/blocks/blocks.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,31 @@
$border-style: 1px solid #dbdbdb;

.blocks :global(.injectionDiv){
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
border: $border-style;

/*
@todo: using _space doesn't compute to the right amount?
Related to `scratch-blocks`
*/
border-top-right-radius: 0.75rem;
}

.blocks :global(.blocklyMainBackground) {
stroke: none;
}

.blocks :global(.blocklyToolboxDiv) {
border-right: $border-style;
border-bottom: $border-style;
box-sizing: content-box;
}

.blocks :global(.blocklyFlyout) {
border-right: $border-style;
box-sizing: content-box;
}

0 comments on commit 588445e

Please sign in to comment.