Skip to content

Commit

Permalink
fix dataGrid classes
Browse files Browse the repository at this point in the history
  • Loading branch information
meetulr committed Oct 30, 2024
1 parent 9be6fa8 commit 63febd0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/components/AddPeopleToTag/AddPeopleToTag.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
.scrollContainer {
max-height: 100px;
overflow-y: auto;
margin-top: 0.5rem;
margin-bottom: 1.7rem;
margin-bottom: 1rem;
}

.memberBadge {
Expand Down
10 changes: 9 additions & 1 deletion src/components/AddPeopleToTag/AddPeopleToTag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,15 @@ const AddPeopleToTag: React.FC<InterfaceAddPeopleToTagProps> = ({
</Stack>
),
}}
sx={dataGridStyle}
sx={{
...dataGridStyle,
'& .MuiDataGrid-topContainer': {
position: 'static',
},
'& .MuiDataGrid-virtualScrollerContent': {
marginTop: '0',
},
}}
getRowClassName={() => `${styles.rowBackground}`}
autoHeight
rowHeight={65}
Expand Down

0 comments on commit 63febd0

Please sign in to comment.