Skip to content

Commit

Permalink
Update resize handle styling in template part focus mode (#36410)
Browse files Browse the repository at this point in the history
* Update styling

* Revert "Update styling"

This reverts commit bd6fa21.

* A different approach...
  • Loading branch information
jameskoster committed Nov 30, 2021
1 parent be69047 commit e13dc1b
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions packages/edit-site/src/components/block-editor/style.scss
Expand Up @@ -55,30 +55,26 @@
bottom: 0;
padding: 0;
margin: auto 0;
width: $grid-unit-10;
width: $grid-unit-05;
height: $height;
appearance: none;
cursor: grab;
cursor: ew-resize;
outline: none;
background: $gray-700;
border-radius: 4px;
background: $gray-600;
border-radius: 2px;
border: 0;

&.is-left {
left: #{-$grid-unit-30 - $grid-unit-05};
left: -$grid-unit-20;
}

&.is-right {
right: #{-$grid-unit-30 - $grid-unit-05};
}

&:hover {
background: $gray-600;
right: -$grid-unit-20;
}

&:hover,
&:active {
cursor: grabbing;
background: $gray-600;
background: $gray-400;
}

&:focus {
Expand Down

0 comments on commit e13dc1b

Please sign in to comment.