From e13dc1b678dff7586fc620a8b002a4f625b135c4 Mon Sep 17 00:00:00 2001 From: James Koster Date: Tue, 30 Nov 2021 10:34:52 +0000 Subject: [PATCH] Update resize handle styling in template part focus mode (#36410) * Update styling * Revert "Update styling" This reverts commit bd6fa21f1d56f463651d35e85a5e074a84d3a5fa. * A different approach... --- .../src/components/block-editor/style.scss | 20 ++++++++----------- 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/packages/edit-site/src/components/block-editor/style.scss b/packages/edit-site/src/components/block-editor/style.scss index 0cebf83a7a7e69..60736f7cf39e4b 100644 --- a/packages/edit-site/src/components/block-editor/style.scss +++ b/packages/edit-site/src/components/block-editor/style.scss @@ -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 {