Skip to content

Commit

Permalink
spliiter ghost pos adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
insmac committed Oct 19, 2023
1 parent b389931 commit b845c53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/web-console/src/components/Splitter/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,15 @@ const HorizontalGhost = styled.div`
${ghostStyles};
width: ${ghostSize}px;
top: 0;
transform: translateX(-50%);
bottom: 0;
`

const VerticalGhost = styled.div`
${ghostStyles};
height: ${ghostSize}px;
left: 0;
transform: translateY(-50%);
right: 0;
`

Expand Down

0 comments on commit b845c53

Please sign in to comment.