Fixed scrollbar issue and used flex layout in grant wizard.

This commit is contained in:
Akshay Joshi 2021-09-23 16:59:59 +05:30
parent b9bc628189
commit ecaaa8a1b5
3 changed files with 1 additions and 5 deletions

View File

@ -10,6 +10,7 @@
.wizard_dlg {
height: 100%;
width: 100%;
overflow-y: hidden;
}
.pgadmin-wizard {

View File

@ -56,9 +56,6 @@ const useStyles = makeStyles(() =>
searchBox: {
marginBottom: '1em',
display: 'flex',
},
table: {
},
searchPadding: {
flex: 2.5

View File

@ -129,7 +129,6 @@ export default function PgTable({ columns, data, isSelectRow, ...props }) {
defaultColumn,
isSelectRow,
},
useBlockLayout,
useGlobalFilter,
useSortBy,
useRowSelect,
@ -251,7 +250,6 @@ export default function PgTable({ columns, data, isSelectRow, ...props }) {
height={height - 75}
itemCount={rows.length}
itemSize={35}
width={rows.length * 35 > 385 ? totalColumnsWidth + scrollBarSize : totalColumnsWidth}
sorted={props?.sortOptions}
>
{RenderRow}