Web: Editor: added global styles

This commit is contained in:
Artem Tarasov 2022-01-28 13:51:23 +03:00
parent 7f3878afc5
commit 1e6d2f1e1c

View File

@ -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} />
</>
);
} }