mirror of
https://github.com/apache/superset.git
synced 2024-09-17 11:09:47 -04:00
fix(dashboard): table chart drag preview overflowing container (#27308)
(cherry picked from commit ad3995daf6
)
This commit is contained in:
parent
c0fa4f43e1
commit
f5750dda8c
@ -74,6 +74,12 @@ const defaultProps = {
|
||||
const DragDroppableStyles = styled.div`
|
||||
${({ theme }) => css`
|
||||
position: relative;
|
||||
/*
|
||||
Next line is a workaround for a bug in react-dnd where the drag
|
||||
preview expands outside of the bounds of the drag source card, see:
|
||||
https://github.com/react-dnd/react-dnd/issues/832#issuecomment-442071628
|
||||
*/
|
||||
transform: translate3d(0, 0, 0);
|
||||
|
||||
&.dragdroppable--dragging {
|
||||
opacity: 0.2;
|
||||
|
Loading…
Reference in New Issue
Block a user