diff options
Diffstat (limited to 'frontend/src/pages')
| -rw-r--r-- | frontend/src/pages/_app.js | 1 | ||||
| -rw-r--r-- | frontend/src/pages/index.js | 8 |
2 files changed, 6 insertions, 3 deletions
diff --git a/frontend/src/pages/_app.js b/frontend/src/pages/_app.js index 7e99f01..eb205e3 100644 --- a/frontend/src/pages/_app.js +++ b/frontend/src/pages/_app.js @@ -1,7 +1,6 @@ import React from 'react' import ThemeProvider from "../theme/ThemeProvider"; import GlobalStyle from "../theme/GlobalStyle"; -import '../theme/style.css'; import {Watermark} from "../components/Watermark"; import styled from "styled-components"; diff --git a/frontend/src/pages/index.js b/frontend/src/pages/index.js index 141ebac..36bcad7 100644 --- a/frontend/src/pages/index.js +++ b/frontend/src/pages/index.js @@ -10,6 +10,10 @@ import Markdown from '../components/renderers/Markdown' import {Button, SubmitButton} from "../components/Common/Button"; import {newPaste} from "../http/shared"; +const Container = styled.form` + width: 100%; +` + const Flex = styled.div` display: flex; flex-direction: row; @@ -115,7 +119,7 @@ const NewPaste = () => { } return ( - <form onSubmit={handleSubmit}> + <Container onSubmit={handleSubmit}> <PasteModal hash={hash} /> <Text label="title" @@ -143,7 +147,7 @@ const NewPaste = () => { </div> <br /> <Error ref={ErrorLabel} /> - </form> + </Container> ); } |