aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/pages/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/pages/index.js')
-rw-r--r--frontend/src/pages/index.js8
1 files changed, 6 insertions, 2 deletions
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>
);
}