Skip to content

Commit dde4428

Browse files
Merge pull request #1572 from Katotodan/fix/kebab-case
Fix CSS-in-JS warning for msOverflowStyle
2 parents 3ae1c29 + bf0d641 commit dde4428

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/custom/Modal/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@ export const ModalBody = styled(Paper)(({ theme }) => ({
122122
overflowY: 'auto',
123123
height: '100%',
124124
scrollbarWidth: 'none',
125+
msOverflowStyle: 'none',
125126
'&::-webkit-scrollbar': {
126127
display: 'none'
127-
},
128-
'-ms-overflow-style': 'none'
128+
}
129129
}));
130130

131131
const StyledFooter = styled('div', {

src/custom/Workspaces/styles.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,10 +399,10 @@ export const RecentActivityGrid = styled(Grid2)({
399399
maxHeight: '14.5rem',
400400
overflowY: 'scroll',
401401
scrollbarWidth: 'none',
402+
msOverflowStyle: 'none',
402403
'&::-webkit-scrollbar': {
403404
display: 'none'
404-
},
405-
'-ms-overflow-style': 'none'
405+
}
406406
});
407407

408408
export const DateGrid = styled(Grid2)(({ theme }) => ({

0 commit comments

Comments
 (0)