mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-10 08:04:36 -06:00
Fixed scrollbar issue and used flex layout in grant wizard.
This commit is contained in:
parent
b9bc628189
commit
ecaaa8a1b5
@ -10,6 +10,7 @@
|
||||
.wizard_dlg {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
.pgadmin-wizard {
|
||||
|
@ -56,9 +56,6 @@ const useStyles = makeStyles(() =>
|
||||
searchBox: {
|
||||
marginBottom: '1em',
|
||||
display: 'flex',
|
||||
},
|
||||
table: {
|
||||
|
||||
},
|
||||
searchPadding: {
|
||||
flex: 2.5
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user