dragbar adjustments

pull/4774/head
Joseph Izang 5 months ago
parent 14f6d7a246
commit 6bcee7b234
  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