Skip to content

Commit

Permalink
Fixed autoheight
Browse files Browse the repository at this point in the history
  • Loading branch information
ranbena committed Aug 29, 2019
1 parent a6b6aea commit 9204f88
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
1 change: 0 additions & 1 deletion client/app/assets/less/inc/visualizations/misc.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
visualization-renderer {
display: block;
height: 100%;

.pagination,
.ant-pagination {
Expand Down
22 changes: 12 additions & 10 deletions client/app/visualizations/table/renderer.less
Original file line number Diff line number Diff line change
Expand Up @@ -102,19 +102,21 @@
}

/* START table x scroll */
height: 100%;
.dashboard-widget-wrapper:not(.widget-auto-height-enabled) & {
height: 100%;

& div {
height: inherit;
}
& div {
height: inherit;
}

.ant-spin-container {
display: flex;
flex-direction: column;
.ant-spin-container {
display: flex;
flex-direction: column;

.ant-table {
flex-grow: 1;
overflow-x: auto;
.ant-table {
flex-grow: 1;
overflow-x: auto;
}
}
}
/* END */
Expand Down

0 comments on commit 9204f88

Please sign in to comment.