Skip to content

Commit b0402af

Browse files
committed
fix: Reset CSS를 제거하면서 MDX 스타일 깨짐을 1차 해소
1 parent d289870 commit b0402af

File tree

2 files changed

+9
-23
lines changed

2 files changed

+9
-23
lines changed

apps/pyconkr/src/components/layout/Header/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ const HeaderContainer = styled.header`
9191
justify-content: space-between;
9292
align-items: center;
9393
position: relative;
94+
95+
ul {
96+
list-style: none;
97+
}
9498
`;
9599

96100
const HeaderLogo = styled.div`

apps/pyconkr/src/styles/globalStyles.ts

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,6 @@ export const muiTheme = createTheme({
5757
export const globalStyles = css`
5858
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");
5959
60-
* {
61-
margin: 0;
62-
padding: 0;
63-
box-sizing: border-box;
64-
65-
-webkit-user-drag: none;
66-
-khtml-user-drag: none;
67-
-moz-user-drag: none;
68-
-o-user-drag: none;
69-
user-drag: none;
70-
}
71-
7260
html,
7361
body {
7462
font-family:
@@ -98,21 +86,15 @@ export const globalStyles = css`
9886
word-break: keep-all;
9987
overflow-wrap: break-all;
10088
89+
-webkit-user-drag: none;
90+
-khtml-user-drag: none;
91+
-moz-user-drag: none;
92+
-o-user-drag: none;
93+
user-drag: none;
10194
}
10295
10396
a {
10497
text-decoration: none;
10598
color: inherit;
10699
}
107-
108-
button {
109-
border: none;
110-
background: none;
111-
cursor: pointer;
112-
}
113-
114-
ul,
115-
ol {
116-
list-style: none;
117-
}
118100
`;

0 commit comments

Comments
 (0)