Skip to content

Commit

Permalink
when
Browse files Browse the repository at this point in the history
  • Loading branch information
ruggi committed Jul 10, 2024
1 parent b003c79 commit 3b6200f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions editor/src/components/canvas/controls/grid-controls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ export const GridResizingControl = React.memo((props: GridResizingControlProps)
>
{props.axis === 'row' ? '↕' : '↔'}
</div>
{resizing ? (
{when(
resizing,
<div
style={{
position: 'absolute',
Expand All @@ -263,8 +264,8 @@ export const GridResizingControl = React.memo((props: GridResizingControlProps)
color={colorTheme.brandNeonPink.value}
textColor={colorTheme.white.value}
/>
</div>
) : null}
</div>,
)}
</div>
)
})
Expand Down

0 comments on commit 3b6200f

Please sign in to comment.