mirror of https://github.com/apache/superset.git
fix(dashboard): unable to resize due to the overlapped droptarget (#28772)
This commit is contained in:
parent
2dbb44b725
commit
ce568c34f9
|
@ -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 */
|
||||
|
|
|
@ -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;
|
||||
|
@ -295,7 +292,7 @@ class Column extends React.PureComponent {
|
|||
className={cx(
|
||||
'empty-droptarget',
|
||||
itemIndex === columnItems.length - 1 &&
|
||||
'droptarget-edge-last',
|
||||
'droptarget-edge',
|
||||
)}
|
||||
editMode
|
||||
>
|
||||
|
|
|
@ -107,9 +107,6 @@ const GridRow = styled.div`
|
|||
&:first-child {
|
||||
inset-inline-start: 0;
|
||||
}
|
||||
&:last-child {
|
||||
inset-inline-end: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue