Skip to content

Commit

Permalink
[Discover] Fix Document Explorer infinite height growth (#131723)
Browse files Browse the repository at this point in the history
* [Discover] Fix grid height for various screen sizes

* [Discover] Move the callout out of grid container to improve the layout
  • Loading branch information
jughosta committed May 9, 2022
1 parent 45e5d08 commit df16573
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ function DiscoverDocumentsComponent({
</>
)}
{!isLegacy && (
<div className="dscDiscoverGrid">
<>
<DocumentExplorerUpdateCallout />
<>
<DocumentExplorerUpdateCallout />
<div className="dscDiscoverGrid">
<DataGridMemoized
ariaLabelledBy="documentsAriaLabel"
columns={columns}
Expand All @@ -183,8 +183,8 @@ function DiscoverDocumentsComponent({
rowHeightState={state.rowHeight}
onUpdateRowHeight={onUpdateRowHeight}
/>
</>
</div>
</div>
</>
)}
</EuiFlexItem>
);
Expand Down

0 comments on commit df16573

Please sign in to comment.