Skip to content

Commit 0de595e

Browse files
committed
Docs: Updated UI of Page[Help]
1 parent 9e1759a commit 0de595e

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

src/css/custom.css

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ html[data-theme='dark'] {
99
.wrapper {
1010
margin: 0 auto;
1111
max-width: 1100px;
12-
padding: 0 20px;
12+
padding: 0 70px;
13+
}
14+
15+
.headings {
16+
font-size: 50px;
17+
margin: 30px 0;
1318
}
1419

1520
.center {
@@ -121,16 +126,12 @@ html[data-theme='dark'] {
121126
padding-bottom: 40px;
122127
padding-top: 40px;
123128
}
124-
125-
.wrapper {
126-
max-width: 1400px;
127-
}
128129
}
129130

130131
.mainContainer {
131132
flex: 1 1 0%;
132133
max-width: 100%;
133-
padding: 40px 0;
134+
margin-bottom: 50px;
134135
}
135136

136137
.mainContainer .wrapper {
@@ -396,6 +397,9 @@ html[data-theme='dark'] {
396397
}
397398

398399
@media only screen and (max-width: 735px) {
400+
.wrapper {
401+
padding: 0 20px;
402+
}
399403
.showcaseSection .logos img {
400404
max-height: 64px;
401405
padding: 20px;

src/pages/help.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ export default function Help(props) {
6161
<div className="mainContainer documentContainer postContainer helpContainer">
6262
<div>
6363
<header>
64-
<h1>Need help?</h1>
64+
<h1>
65+
<p className="headings">Need help?</p>
66+
</h1>
6567
</header>
6668
<GridBlock
6769
contents={supportLinks.slice(0, 3)}
@@ -74,7 +76,9 @@ export default function Help(props) {
7476
align="left"
7577
/>
7678
<section>
77-
<h2>Buy a Course</h2>
79+
<h1>
80+
<p className="headings">Buy a course</p>
81+
</h1>
7882
<p>
7983
Learn how to test JavaScript with{' '}
8084
<ExternalLink href="https://kentcdodds.com">
@@ -96,7 +100,9 @@ export default function Help(props) {
96100
</div>
97101
</section>
98102
<header className="postHeader">
99-
<h1>Want to help?</h1>
103+
<h1>
104+
<p className="headings">Want to help?</p>
105+
</h1>
100106
</header>
101107
<p>
102108
Thanks! The Testing Library maintainers are happy to maintain this

0 commit comments

Comments
 (0)