Skip to content

Commit 5067897

Browse files
committed
fix css
1 parent 34fa8f2 commit 5067897

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

src/App.module.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,3 @@
22
margin: 7rem 0;
33
text-align: center;
44
}
5-
6-
.something {
7-
margin: 3;
8-
}

src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function App() {
4242

4343
return (
4444
<StateProvider>
45-
<div className={styles.con2tent}>
45+
<div className={styles.content}>
4646
<Router>
4747
<Routes>
4848
<Route

src/index.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
--grey-4: rgb(77, 79, 83);
1515
}
1616

17-
html {
17+
:global(html) {
1818
position: relative;
1919
width: 100%;
2020
height: 100%;
2121
box-sizing: border-box;
2222
font-size: 1rem;
2323
}
2424

25-
body {
25+
:global(body) {
2626
margin: 0;
2727
font-family: "Roboto", sans-serif;
2828
-webkit-font-smoothing: antialiased;
@@ -31,13 +31,13 @@ body {
3131
}
3232

3333
@media only screen and (max-width: 767px) {
34-
body {
34+
:global(body) {
3535
padding: 0 1rem;
3636
}
3737
}
3838

39-
*,
40-
*:before,
41-
*:after {
39+
:global(*),
40+
:global(*):before,
41+
:global(*):after {
4242
box-sizing: inherit;
4343
}

0 commit comments

Comments
 (0)