Skip to content

Commit 6b79349

Browse files
committed
feat: styling of policy headers, bullet points, links
1 parent a847334 commit 6b79349

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

web/src/pages/Courts/CourtDetails/Description.tsx

+27
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,33 @@ const TextContainer = styled.div`
2121
p {
2222
word-break: break-word;
2323
}
24+
25+
li {
26+
line-height: 1.5em;
27+
margin-top: 0.5em;
28+
}
29+
30+
h1 {
31+
margin: 16px 0 16px 0;
32+
font-size: 24px;
33+
line-height: 32px;
34+
}
35+
36+
h2 {
37+
margin: 16px 0 16px 0;
38+
font-size: 20px;
39+
line-height: 24px;
40+
}
41+
42+
h3 {
43+
margin: 16px 0 16px 0;
44+
font-size: 18px;
45+
line-height: 20px;
46+
}
47+
48+
a {
49+
font-size: 16px;
50+
}
2451
`;
2552

2653
const StyledTabs = styled(Tabs)`

web/src/styles/global-style.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const GlobalStyle = createGlobalStyle`
4646
4747
h2 {
4848
margin: 0 0 16px 0;
49-
font-weight: 400;
49+
font-weight: 600;
5050
font-size: 24px;
5151
line-height: 32px;
5252
color: ${({ theme }) => theme.primaryText};

0 commit comments

Comments
 (0)