Skip to content

Commit

Permalink
fix: 스타일 충돌 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
kangju2000 committed Oct 19, 2023
1 parent 06f87d4 commit 75556dc
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/pages/content/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import packageJson from './../../../package.json'

import App from '@/pages/content/App'

import '@/styles/globals.css'
import 'react-tooltip/dist/react-tooltip.css'

const { version } = packageJson
Expand All @@ -33,9 +32,9 @@ modal.id = 'modal'
document.body.append(modal)

const theme = extendTheme({
styles: {
global: {
p: {
components: {
Text: {
baseStyle: {
margin: 0,
padding: 0,
},
Expand All @@ -44,7 +43,7 @@ const theme = extendTheme({
})

createRoot(root).render(
<ChakraProvider theme={theme}>
<ChakraProvider resetCSS={false} theme={theme}>
<App />
</ChakraProvider>,
)

0 comments on commit 75556dc

Please sign in to comment.