Skip to content

Commit a78b5de

Browse files
committed
change p to div in TwoColumn component
1 parent f6f6c9e commit a78b5de

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

components/containers/TwoColumn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default function TwoColumn({
3737
{title}
3838
</h2>
3939
)}
40-
<p className={styles.content}>{content}</p>
40+
<div className={styles.content}>{content}</div>
4141
{link && (
4242
<ButtonLink link={link} customClassName={customBtnClass}>
4343
{linkText}

pages/about.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import TwoColumn from '@/components/containers/TwoColumn';
44
import { white, primary } from '@/styles/TwoColumn.module.scss';
55
import Container from '@/components/containers/Container';
66

7+
78
export default function AboutUs() {
89
return (
910
<div className='about-us'>

styles/TwoColumn.module.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@
6868
align-items: center;
6969
margin: 3.875rem 0 2.5rem;
7070
max-width: 39rem;
71+
font-size: 1.5rem;
72+
line-height: 1.938rem;
7173
}
7274

7375
a {

0 commit comments

Comments
 (0)