Skip to content

Commit 0b019ae

Browse files
committed
update
1 parent fbb3398 commit 0b019ae

2 files changed

Lines changed: 9 additions & 12 deletions

File tree

src/components/NotFound/NotFoundPage.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function NotFoundPage() {
1414
return (
1515
<div className={cn(styles.notFoundContainer, darkMode ? cn(styles.darkMode) : '')}>
1616
<div
17-
className={styles.test}
17+
className={styles.notFoundContent}
1818
//prettier-ignore
1919
style={{border: `2px solid ${darkMode ? `#f1f1f1` : `#333`}`}}
2020
>

src/components/NotFound/NotFoundPage.module.css

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ body,
1414
html {
1515
overflow: hidden;
1616
}
17-
.test{
17+
.notFoundContent {
1818
padding: 5px;
1919
border-radius: 20px;
2020
width: 60%;
@@ -56,24 +56,22 @@ html {
5656
background-color: #121212;
5757
}
5858

59-
60-
6159
@media (max-width: 1039px) {
62-
.test{
63-
margin-top: 20rem;
64-
}
60+
.notFoundContent {
61+
margin-top: 20rem;
62+
}
6563
}
6664

6765
@media (max-width: 1200px) {
68-
.test{
66+
.notFoundContent {
6967
width: 92%;
7068
}
7169
}
7270

7371
@media (max-width: 768px) {
74-
.test{
75-
margin-top: 0rem;
76-
}
72+
.notFoundContent {
73+
margin-top: 0rem;
74+
}
7775

7876
.notFoundText h1 {
7977
font-size: 1.5em;
@@ -82,5 +80,4 @@ html {
8280
.notFoundText p {
8381
font-size: 1em;
8482
}
85-
8683
}

0 commit comments

Comments
 (0)