Skip to content

Commit 5efdc1a

Browse files
committed
make the error messages smaller
1 parent f2c2db6 commit 5efdc1a

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

app/error.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default function Error({
1919

2020
return (
2121
<section className="core">
22-
<h1 className="h1">
22+
<h1 className="h3">
2323
Sorry, something went wrong
2424
&nbsp;
2525
<span className="emoji">😞</span>

app/global-error.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default function GlobalError({
2222
<body>
2323
<main>
2424
<section className="core">
25-
<h1 className="h1">
25+
<h1 className="h3">
2626
Sorry, something went wrong
2727
&nbsp;
2828
<span className="emoji">😞</span>

app/global.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -328,27 +328,27 @@ p {
328328
margin-block: 1.8em;
329329
}
330330

331-
h1 {
331+
h1, .h1 {
332332
font-size: var(--main-fontSize-big1);
333333
}
334334

335-
h2 {
335+
h2, .h2 {
336336
font-size: var(--main-fontSize-big2);
337337
}
338338

339-
h3 {
339+
h3, .h3 {
340340
font-size: var(--main-fontSize-big3);
341341
}
342342

343-
h4 {
343+
h4, .h4 {
344344
font-size: var(--main-fontSize-big4);
345345
}
346346

347-
h5 {
347+
h5, .h5 {
348348
font-size: var(--main-fontSize-big5);
349349
}
350350

351-
h6 {
351+
h6, .h6 {
352352
font-size: var(--main-fontSize-big6);
353353
}
354354

0 commit comments

Comments
 (0)