Skip to content

Commit

Permalink
Tune the focus style to be clearer.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Aug 5, 2020
1 parent f951e6a commit a3eeef5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/block-editor/src/components/block-list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@
&:focus::before {
left: 0 !important;
min-width: 0;
width: calc(100% + #{ $border-width });
width: 100%;
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions packages/block-editor/src/components/block-mover/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
// Focus style.
&::before {
bottom: 0;
height: 100%;
height: calc(100% - #{ $border-width });
}
}

Expand All @@ -60,7 +60,7 @@
// Focus style.
&::before {
top: 0;
height: 100%;
height: calc(100% - #{ $border-width });
}
}

Expand Down

0 comments on commit a3eeef5

Please sign in to comment.