Skip to content

Commit e7f8d64

Browse files
Merge pull request #1115 from Smadden00/Smadden00/fix-heading-line-spacing-and-padding
Edited heading line spacing
2 parents 25abc87 + 11d1428 commit e7f8d64

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

src/app/(content-pages)/get-access/GetAccessPage.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { Handshake, Money, Gavel, Tag, XCircle } from '@phosphor-icons/react';
33
export default function GetAccessPage() {
44
return (
55
<>
6-
<h1 className="heading-3xl font-bold mb-6">Get Access to a Property</h1>
7-
<h2 className="body-lg font-normal mb-6">
6+
<h1 className="heading-3xl font-bold">Get Access to a Property</h1>
7+
<h2 className="body-lg font-normal">
88
In order to intervene in a property, you need to have some kind of legal
99
access to do so.
1010
</h2>
@@ -17,7 +17,7 @@ export default function GetAccessPage() {
1717
can get help with each.
1818
</p>
1919

20-
<h2 className="heading-2xl font-bold mb-6">Methods</h2>
20+
<h2 className="heading-2xl font-bold">Methods</h2>
2121
<p className="body-md mb-6">
2222
Although there are other possible ways to get access to a property (see
2323
below), these four routes are the most common and the only ones that we
@@ -187,7 +187,7 @@ export default function GetAccessPage() {
187187
</div>
188188
</div>
189189

190-
<h2 id="other-methods" className="heading-2xl font-bold mt-8 mb-6">
190+
<h2 id="other-methods" className="heading-2xl font-bold mt-8">
191191
Other Methods
192192
</h2>
193193
<p className="body-md mb-6">

src/app/globals.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,26 +92,31 @@
9292
font-size: var(--font-size-3xl);
9393
font-family: var(--font-family);
9494
font-weight: 800;
95+
line-height: 1.2;
9596
}
9697
.heading-2xl {
9798
font-size: var(--font-size-2xl);
9899
font-family: var(--font-family);
99100
font-weight: 800;
101+
line-height: 1.2;
100102
}
101103
.heading-xl {
102104
font-size: var(--font-size-xl);
103105
font-family: var(--font-family);
104106
font-weight: bold;
107+
line-height: 1.2;
105108
}
106109
.heading-lg {
107110
font-size: var(--font-size-lg);
108111
font-family: var(--font-family);
109112
font-weight: bold;
113+
line-height: 1.2;
110114
}
111115
.heading-md {
112116
font-size: var(--font-size-md);
113117
font-family: var(--font-family);
114118
font-weight: bold;
119+
line-height: 1.2;
115120
}
116121
.body-lg {
117122
font-size: var(--font-size-lg);
@@ -128,6 +133,12 @@
128133
font-family: var(--font-family);
129134
font-weight: regular;
130135
}
136+
h1 + h2 {
137+
margin-top: 0.5rem;
138+
}
139+
h2 + p {
140+
margin-top: 3rem;
141+
}
131142

132143
ol.methodology {
133144
list-style: decimal;

0 commit comments

Comments
 (0)