Skip to content

Commit

Permalink
[Lens] Allow table to scroll horizontally
Browse files Browse the repository at this point in the history
  • Loading branch information
wylieconlon committed Apr 16, 2020
1 parent 239f73b commit 00b791f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ function DatatableComponent(props: DatatableProps & { formatFactory: FormatFacto
<EuiBasicTable
className="lnsDataTable"
data-test-subj="lnsDataTable"
tableLayout="auto"
columns={props.args.columns.columnIds
.map(field => {
const col = firstTable.columns.find(c => c.id === field);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
width: 100%;
height: 100%;
display: flex;
overflow-x: hidden;
overflow: auto;

.lnsExpressionRenderer__component {
position: static; // Let the progress indicator position itself against the outer parent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
display: flex;
align-items: center;
justify-content: center;
overflow-x: hidden;
}
}
}

0 comments on commit 00b791f

Please sign in to comment.