Commit 0f26df78 by G

input field to take the full width of its container

parent df4e7a1a
......@@ -15,7 +15,7 @@ const Input = ({ label, textVariants, ...rest }: Props) => {
<Box>
<Text variant={textVariants}>{label}</Text>
<Box backgroundColor={"lightGray"} height={50} borderRadius={10} my={"m"} p={"s"}>
<TextInput style={{ height: "100%" }} {...rest} />
<TextInput style={{ height: "100%", width: "100%" }} {...rest} />
</Box>
</Box>
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment