dragbar adjustments

pull/5370/head
Joseph Izang 6 months ago
parent 416611f12d
commit 72c775def7
  1. 3
      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)
}

Loading…
Cancel
Save