parent
a8f5170264
commit
414987ef3e
2 changed files with 12 additions and 4 deletions
@ -1,9 +1,9 @@ |
||||
import { Box as MuiBox, styled } from '@mui/material'; |
||||
import { styled } from '@mui/material'; |
||||
|
||||
const DialogScrollBox = styled(MuiBox)({ |
||||
import ScrollBox from '../ScrollBox'; |
||||
|
||||
const DialogScrollBox = styled(ScrollBox)({ |
||||
maxHeight: '60vh', |
||||
overflowY: 'scroll', |
||||
paddingRight: '.4em', |
||||
}); |
||||
|
||||
export default DialogScrollBox; |
||||
|
@ -0,0 +1,8 @@ |
||||
import { Box as MuiBox, styled } from '@mui/material'; |
||||
|
||||
const ScrollBox = styled(MuiBox)({ |
||||
overflowY: 'scroll', |
||||
paddingRight: '.4em', |
||||
}); |
||||
|
||||
export default ScrollBox; |
Loading…
Reference in new issue