From b845c539fdc962f4b4314b3b8a83ecac3b9787b3 Mon Sep 17 00:00:00 2001 From: Maciej Bodek Date: Thu, 19 Oct 2023 09:28:05 +0200 Subject: [PATCH] spliiter ghost pos adjustment --- packages/web-console/src/components/Splitter/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/web-console/src/components/Splitter/index.tsx b/packages/web-console/src/components/Splitter/index.tsx index 8f3fdadb2..5d5e630cb 100644 --- a/packages/web-console/src/components/Splitter/index.tsx +++ b/packages/web-console/src/components/Splitter/index.tsx @@ -115,6 +115,7 @@ const HorizontalGhost = styled.div` ${ghostStyles}; width: ${ghostSize}px; top: 0; + transform: translateX(-50%); bottom: 0; ` @@ -122,6 +123,7 @@ const VerticalGhost = styled.div` ${ghostStyles}; height: ${ghostSize}px; left: 0; + transform: translateY(-50%); right: 0; `