aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/Inputs/shared.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/Inputs/shared.js')
-rw-r--r--frontend/src/components/Inputs/shared.js9
1 files changed, 2 insertions, 7 deletions
diff --git a/frontend/src/components/Inputs/shared.js b/frontend/src/components/Inputs/shared.js
index 4239e89..2f6ee3f 100644
--- a/frontend/src/components/Inputs/shared.js
+++ b/frontend/src/components/Inputs/shared.js
@@ -2,14 +2,9 @@ import styled from "styled-components";
import React from "react";
import FloatingLabel from "../decorators/FloatingLabel";
-export const Wrapper = styled.div`
- display: block;
- margin-left: 2em;
-`
-
-export const Labelled = ({label, value, children}) => <Wrapper>
+export const Labelled = ({label, value, children}) => <div>
<FloatingLabel label={label} value={value} >
<span>{label}</span>
{children}
</FloatingLabel>
-</Wrapper> \ No newline at end of file
+</div> \ No newline at end of file