From 6ce32cb67104ace1edda06fade12261dc6759b2c Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Tue, 11 Jun 2024 13:43:46 +0100 Subject: [PATCH] small fix to dragbar --- .../app/src/lib/remix-app/components/dragbar/dragbar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/remix-ui/app/src/lib/remix-app/components/dragbar/dragbar.tsx b/libs/remix-ui/app/src/lib/remix-app/components/dragbar/dragbar.tsx index d210802229..0c57ebaffb 100644 --- a/libs/remix-ui/app/src/lib/remix-app/components/dragbar/dragbar.tsx +++ b/libs/remix-ui/app/src/lib/remix-app/components/dragbar/dragbar.tsx @@ -28,9 +28,9 @@ const DragBar = (props: IRemixDragBarUi) => { const height = window.innerHeight if (height <= 781 && width <= 1150) { - setDragBarPosX(props.minWidth + 50) + setDragBarPosX(props.minWidth - 50) } else { - setDragBarPosX(props.minWidth) + setDragBarPosX(props.minWidth + 50) } } checkResolution()