File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 33 height : calc (100vh - var (--header-height ));
44 overflow : hidden ;
55}
6+ .scroll {
7+ overflow-y : scroll ;
8+ }
69.padding {
710 padding : 0 2rem ;
811}
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ type Props = {
88 children : ReactNode ;
99 padding ?: boolean ;
1010 flex ?: boolean ;
11+ scroll ?: boolean ;
1112 background ?: boolean ;
1213} ;
1314export default function Content ( {
@@ -17,6 +18,7 @@ export default function Content({
1718 background,
1819 className,
1920 flex,
21+ scroll,
2022} : Props ) {
2123 return (
2224 < >
@@ -27,6 +29,7 @@ export default function Content({
2729 styles . content ,
2830 padding && styles . padding ,
2931 flex && styles . flex ,
32+ scroll && styles . scroll ,
3033 background && styles . background ,
3134 ) }
3235 >
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ export default function Settings(props: Props) {
2424 < Content
2525 padding
2626 background
27+ scroll
2728 header = {
2829 < Header >
2930 < Button title = "close" disabled = { ! valid } onClick = { props . onClose } >
You can’t perform that action at this time.
0 commit comments