Web: Editor: added global styles
This commit is contained in:
parent
7f3878afc5
commit
1e6d2f1e1c
@ -1,3 +1,20 @@
|
|||||||
export default function App({ Component, pageProps }) {
|
import { createGlobalStyle } from "styled-components";
|
||||||
return <Component {...pageProps} />;
|
|
||||||
|
const GlobalStyle = createGlobalStyle`
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
html, body {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
|
export default function App({ Component, pageProps }) {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<GlobalStyle />
|
||||||
|
<Component {...pageProps} />
|
||||||
|
</>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user