Skip to content

Commit

Permalink
Merge pull request #6 from mbondyra/pr/92616
Browse files Browse the repository at this point in the history
Alternative solution
  • Loading branch information
dej611 committed Feb 24, 2021
2 parents 97c41c2 + 6b90838 commit 1c6120c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 18 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions x-pack/plugins/lens/public/drag_drop/drag_drop.scss
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,6 @@
}
}

.lnsDragDrop__container {
overflow: visible !important; // sass-lint:disable-line no-important
width: 100%;
height: 100%;
}

.lnsDragDrop__reorderableDrop {
position: absolute;
width: 100%;
Expand Down
4 changes: 2 additions & 2 deletions x-pack/plugins/lens/public/drag_drop/drag_drop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ const DropInner = memo(function DropInner(props: DropInnerProps) {
isActiveDropTarget && dropType !== 'reorder' && dragging?.ghost ? dragging.ghost : undefined;

return (
<div className="lnsDragDrop__container">
<>
{React.cloneElement(children, {
'data-test-subj': dataTestSubj || 'lnsDragDrop',
className: classNames(children.props.className, classes, className),
Expand All @@ -471,7 +471,7 @@ const DropInner = memo(function DropInner(props: DropInnerProps) {
style: ghost.style,
})
: null}
</div>
</>
);
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
min-height: $euiSizeXXL * 10;
overflow: visible;
border: none;
height: 100%;

.lnsWorkspacePanelWrapper__pageContentBody {
@include euiScrollBar;
flex-grow: 1;
display: flex;
align-items: stretch;
justify-content: stretch;
position: absolute;

> * {
flex: 1 1 100%;
Expand Down

0 comments on commit 1c6120c

Please sign in to comment.