Skip to content

Commit 37b6b7b

Browse files
PROD-1075 #comment update layout; #time 3h
1 parent 7af74ba commit 37b6b7b

File tree

6 files changed

+28
-33
lines changed

6 files changed

+28
-33
lines changed

src/lib/content-layout/ContentLayout.module.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
@include content-height;
55
padding: 0;
66
display: grid;
7-
background-color: $tc-white;
87
grid-template-columns: 1fr;
98
justify-content: center;
109

@@ -14,7 +13,6 @@
1413

1514
.content-inner {
1615
flex: 1;
17-
background-color: $tc-white;
1816
max-width: $xl-max-content;
1917
padding: 0;
2018
}

src/lib/content-layout/ContentLayout.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ import styles from './ContentLayout.module.scss'
77

88
export interface ContentLayoutProps {
99
children?: ReactNode
10+
contentClass?: string
1011
title: string
1112
titleClass?: string
1213
}
1314

1415
const ContentLayout: FC<ContentLayoutProps> = (props: ContentLayoutProps) => {
1516

1617
return (
17-
<div className={classNames(styles.content)}>
18+
<div className={classNames(styles.content, props.contentClass)}>
1819

1920
<div className={styles['content-outer']}>
2021

src/lib/styles/_cards.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
.card-title {
1111
@include font-weight-semi-bold;
12+
@include font-barlow;
1213
text-transform: uppercase;
1314
}
1415
}

src/utils/settings/Settings.module.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
.page-header {
1+
.content {
22
background: url('./profile-settings-background.svg');
3+
background-size: 100% 100%;
4+
}
5+
6+
.page-header {
37
padding: 48px 180px;
48

59
h1 {

src/utils/settings/Settings.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const Settings: FC<{}> = () => {
3131

3232
return (
3333
<ContentLayout
34+
contentClass={styles.content}
3435
title={SETTINGS_TITLE}
3536
titleClass={classNames('font-tc-white', styles['page-header'])}
3637
>
@@ -51,15 +52,15 @@ const Settings: FC<{}> = () => {
5152
<div className={styles['page-content']}>
5253

5354
<div className='card'>
54-
<span className='card-title'>
55-
Basic Information
56-
</span>
55+
<div className='card-title'>
56+
Basic Information
57+
</div>
5758
</div>
5859

5960
<div className='card'>
60-
<span className='card-title'>
61-
Reset Password
62-
</span>
61+
<div className='card-title'>
62+
Reset Password
63+
</div>
6364
</div>
6465

6566
</div>
Lines changed: 13 additions & 23 deletions
Loading

0 commit comments

Comments
 (0)