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) }