Skip to content

Commit

Permalink
[Lens] Fix Workspace hidden when using Safari (#92616) (#92808)
Browse files Browse the repository at this point in the history
Co-authored-by: Marta Bondyra <[email protected]>

Co-authored-by: Marta Bondyra <[email protected]>
  • Loading branch information
dej611 and mbondyra authored Feb 25, 2021
1 parent 056d562 commit 31dc410
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.

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

.lnsDragDrop__container {
position: relative;
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,6 +11,7 @@
min-height: $euiSizeXXL * 10;
overflow: visible;
border: none;
height: 100%;

.lnsWorkspacePanelWrapper__pageContentBody {
@include euiScrollBar;
Expand Down

0 comments on commit 31dc410

Please sign in to comment.