From 6bcee7b234c521fafedb077268609381f519f436 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Mon, 10 Jun 2024 13:46:45 +0100 Subject: [PATCH] dragbar adjustments --- .../app/src/lib/remix-app/components/dragbar/dragbar.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 4bbb9066e8..339452c749 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 @@ -23,7 +23,8 @@ const DragBar = (props: IRemixDragBarUi) => { if (props.hidden) { setDragBarPosX(offset) } else if (props.layoutPosition === 'left') { - setDragBarPosX(offset + props.refObject.current.offsetWidth) + setDragBarPosX(props.minWidth + 50) + props.refObject.current.style.width = props.minWidth + 'px' } else if (props.layoutPosition === 'right') { setDragBarPosX(offset) }