File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1- import { Grid } from "@mui/material"
1+ import { Grid } from "@mui/material" ;
22
33import { Controller } from "react-hook-form" ;
44import DynamicInput from "./DynamicInput" ;
@@ -44,7 +44,14 @@ const DynamicForm = ({
4444 { t ( label ) }
4545 </ h4 >
4646 </ Grid >
47- < Grid item xs = { 12 } style = { { margin : "10px 0" } } >
47+ < Grid
48+ item
49+ xs = { 12 }
50+ style = { {
51+ margin : "10px 0" ,
52+ wordBreak : "break-word" ,
53+ } }
54+ >
4855 < Controller
4956 name = { fieldName }
5057 control = { control }
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ import styled from "styled-components";
22
33const SentenceReportContentStyle = styled . div `
44 margin: 10px 0;
5+ word-break: break-word;
6+
57 .title {
68 font-size: 16px;
79 font-weight: 700;
@@ -10,7 +12,6 @@ const SentenceReportContentStyle = styled.div`
1012
1113 .paragraph {
1214 font-size: 18px;
13- word-break: "break-all";
1415 }
1516` ;
1617
You can’t perform that action at this time.
0 commit comments