File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
components/Layout/SettingsContentLayout
features/settings/components Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1+ import clsx from 'clsx'
12import './settingsContentLayout.css'
23
34type SettingsContentLayoutProps = {
45 title : string
56 description : string
67 children : React . ReactNode
78 actions ?: React . ReactNode
9+ bodyClassName ?: string
810}
911
1012export const SettingsContentLayout = ( {
1113 title,
1214 description,
1315 actions,
1416 children,
17+ bodyClassName,
1518} : SettingsContentLayoutProps ) => {
1619 return (
1720 < div className = "settingsContent" >
@@ -23,7 +26,7 @@ export const SettingsContentLayout = ({
2326
2427 { actions && < div className = "actions" > { actions } </ div > }
2528 </ header >
26- < main className = " settingsBody scrollable" > { children } </ main >
29+ < main className = { clsx ( ' settingsBody scrollable' , bodyClassName ) } > { children } </ main >
2730 </ div >
2831 )
2932}
Original file line number Diff line number Diff line change 6363 cursor : pointer;
6464 }
6565}
66+
67+ .topicsBottomSpacer {
68+ margin-bottom : 80px ;
69+ padding-bottom : 24px ;
70+ }
6671.settingsContent header {
6772 display : flex;
6873 justify-content : space-between;
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ export const TopicSettings = () => {
5959
6060 return (
6161 < SettingsContentLayout
62+ bodyClassName = "topicsBottomSpacer"
6263 title = "Followed Topics"
6364 description = { `Your feed will be tailored by following the technologies you are interested in.` } >
6465 { userSelectedTags . length > 0 ? (
You can’t perform that action at this time.
0 commit comments