Skip to content

Commit 92876dc

Browse files
committed
Add font-size and line-height
1 parent fa18f91 commit 92876dc

File tree

1 file changed

+11
-3
lines changed
  • src/signals/incident/components/ReplyForm/Notice

1 file changed

+11
-3
lines changed

src/signals/incident/components/ReplyForm/Notice/Notice.tsx

+11-3
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,23 @@ const StyledHeading = styled(Heading)`
1616
margin-bottom: ${themeSpacing(5)};
1717
`
1818

19+
const Wrapper = styled.div`
20+
a,
21+
p {
22+
font-size: 1rem;
23+
line-height: 1.5rem;
24+
}
25+
`
26+
1927
interface NoticeProps {
2028
title: string
2129
content: string
2230
}
2331

2432
const Notice = ({ content, title }: NoticeProps) => (
2533
<Row>
26-
<Column span={9}>
27-
<div>
34+
<Column span={8}>
35+
<Wrapper>
2836
<StyledHeading>{title}</StyledHeading>
2937
<ReactMarkdown
3038
skipHtml
@@ -37,7 +45,7 @@ const Notice = ({ content, title }: NoticeProps) => (
3745
>
3846
{content}
3947
</ReactMarkdown>
40-
</div>
48+
</Wrapper>
4149
</Column>
4250
</Row>
4351
)

0 commit comments

Comments
 (0)