Skip to content

Commit

Permalink
fix(dashboard): unable to resize due to the overlapped droptarget
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpark committed May 30, 2024
1 parent 0070097 commit 6296211
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ const StyledDiv = styled.div`
& .grid-row:after {
border-style: hidden;
}
& .droptarget-side:last-child {
inset-inline-end: 0;
}
& .droptarget-edge:last-child {
inset-block-end: 0;
}
}
/* A row within a column has inset hover menu */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,6 @@ const ColumnStyles = styled.div`
&:first-child {
inset-block-start: 0;
}
&:last-child {
inset-block-end: 0;
}
}
&:first-child:not(.droptarget-edge) {
position: absolute;
Expand Down Expand Up @@ -295,7 +292,7 @@ class Column extends React.PureComponent {
className={cx(
'empty-droptarget',
itemIndex === columnItems.length - 1 &&
'droptarget-edge-last',
'droptarget-edge',
)}
editMode
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,6 @@ const GridRow = styled.div`
&:first-child {
inset-inline-start: 0;
}
&:last-child {
inset-inline-end: 0;
}
}
}
Expand Down

0 comments on commit 6296211

Please sign in to comment.