Skip to content

Commit

Permalink
info-requests - added styles (#1512)
Browse files Browse the repository at this point in the history
* info-requests - added styles

* fix

* fix
  • Loading branch information
yg1y authored Jul 24, 2023
1 parent 9e99586 commit b5c043a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/admin/InfoRequestGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,21 @@ export default function InfoRequestGrid() {

return (
<DataGrid
style={{
background: 'white',
height: 'calc(100vh - 300px)',
border: 'none',
overflowY: 'auto',
overflowX: 'hidden',
borderRadius: '0 0 13px 13px',
}}
rows={data || []}
columns={columns}
columnVisibilityModel={{
id: false,
}}
paginationModel={paginationModel}
onPaginationModelChange={setPaginationModel}
autoHeight
disableRowSelectionOnClick
onRowClick={(p, event) => {
const elm = event.target as HTMLInputElement
Expand Down

0 comments on commit b5c043a

Please sign in to comment.