Skip to content

Commit

Permalink
fix(dashboard): unable to resize due to the overlapped droptarget (#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpark authored May 30, 2024
1 parent 2dbb44b commit ce568c3
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 ce568c3

Please sign in to comment.