We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec20c40 commit 51858ecCopy full SHA for 51858ec
src/components/MarkdownGenerator/Text.js
@@ -6,15 +6,23 @@ const Text = () => {
6
const [inputVal, setInputVal] = useState("");
7
8
return (
9
- <Grid container>
+ <Grid container display="flex" justifyContent="space-around">
10
<Grid item>
11
<textarea
12
name="markdownInput"
13
value={inputVal}
14
onChange={(e) => setInputVal(e.target.value)}
15
+ style={{ width: "400px", height: "600px" }}
16
/>
17
</Grid>
- <Grid item>
18
+ <Grid
19
+ item
20
+ sx={{
21
+ width: "400px",
22
+ height: "600px",
23
+ lineBreak: "anywhere",
24
+ }}
25
+ >
26
<Html children={inputVal} />
27
28
0 commit comments