Skip to content

Commit

Permalink
Update handle
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskoster committed Jan 13, 2023
1 parent 098c4cd commit 28e6a9d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
7 changes: 5 additions & 2 deletions packages/edit-site/src/components/block-editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,15 @@

&.is-variation-separator {
height: 100%;
width: $grid-unit-30;
right: 0;

&::after {
width: 2px;
border-radius: 0;
background: $gray-800;
left: 0;
background: transparent;
left: 50%;
transform: translateX( -1px );
right: 0;
transition: all ease 0.2s;
transition-delay: 0.1s;
Expand Down
1 change: 0 additions & 1 deletion packages/edit-site/src/components/layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ export default function Layout( { onError } ) {
handleComponent={ {
right: (
<ResizeHandle
direction="right"
variation="separator"
/>
),
Expand Down
4 changes: 0 additions & 4 deletions packages/edit-site/src/components/layout/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,6 @@ $hub-height: $grid-unit-20 * 2 + $button-size;
top: 0;
}

.resizable-editor__drag-handle.is-right {
right: math.div(-$grid-unit-15, 2);
}

> div {
overflow-y: auto;
min-height: 100%;
Expand Down

0 comments on commit 28e6a9d

Please sign in to comment.