Query table scroll issue fixed (#1464)

* Query table scroll issue fixed

* Table widget horizontal scroll fix
This commit is contained in:
vicky-primathon 2020-10-30 16:18:57 +05:30 committed by GitHub
parent 634d294578
commit b74bec311e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View File

@ -29,6 +29,8 @@ export const TableWrapper = styled.div<{
color: ${Colors.THUNDER};
position: relative;
background: ${Colors.ATHENS_GRAY_DARKER};
display: table;
width: 100%;
.thead,
.tbody {
overflow: hidden;

View File

@ -15,7 +15,7 @@ interface TableProps {
const StyledTableWrapped = styled(TableWrapper)`
min-height: 0px;
height: auto;
height: 100%;
.tableWrap {
display: flex;
flex: 1;
@ -24,9 +24,11 @@ const StyledTableWrapped = styled(TableWrapper)`
display: flex;
flex: 1;
flex-direction: column;
height: auto;
height: 100%;
display: table;
width: 100%;
.tbody {
height: auto;
height: 100%;
overflow: auto;
}
}