File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ const Iep = ({ iep_id }: IepProps) => {
43
43
}
44
44
45
45
return (
46
- < Stack >
46
+ < Stack sx = { { width : 1 } } >
47
47
< Container >
48
48
< Box className = { $Iep . goalBox } >
49
49
< p className = { $Iep . goalTab } > Goals ({ goals ?. length ?? 0 } )</ p >
Original file line number Diff line number Diff line change @@ -123,12 +123,12 @@ const ViewStudentPage = () => {
123
123
return (
124
124
< Stack
125
125
spacing = { 2 }
126
- // sx={{
127
- // display: "flex",
128
- // flexDirection: "column",
129
- // alignItems: "center",
130
- // width: "100vu ",
131
- // }}
126
+ sx = { {
127
+ display : "flex" ,
128
+ flexDirection : "column" ,
129
+ alignItems : "center" ,
130
+ width : "100% " ,
131
+ } }
132
132
>
133
133
< Container
134
134
className = { $StudentPage . studentInfoContainer }
@@ -176,7 +176,7 @@ const ViewStudentPage = () => {
176
176
>
177
177
Cancel
178
178
</ Button >
179
- { /* <Button
179
+ < Button
180
180
className = { `${ $button . default } ${ $home . bold } ` }
181
181
sx = { [
182
182
{
@@ -191,11 +191,11 @@ const ViewStudentPage = () => {
191
191
buttonSX ,
192
192
] }
193
193
type = "submit"
194
- onClick={handleEditStudent}
194
+ form = "edit"
195
195
variant = "contained"
196
196
>
197
197
Save
198
- </Button> */ }
198
+ </ Button >
199
199
</ Box >
200
200
) }
201
201
</ Box >
@@ -223,7 +223,7 @@ const ViewStudentPage = () => {
223
223
224
224
{ viewState === VIEW_STATES . EDIT ? (
225
225
< Stack gap = { 0.5 } sx = { { justifyContent : "center" } } >
226
- < form onSubmit = { handleEditStudent } >
226
+ < form id = "edit" onSubmit = { handleEditStudent } >
227
227
< Stack gap = { 0.5 } >
228
228
< Container
229
229
className = { $StudentPage . studentEditContainer }
@@ -294,7 +294,7 @@ const ViewStudentPage = () => {
294
294
/>
295
295
</ Container >
296
296
</ Stack >
297
- < button type = "submit" > Submit</ button >
297
+ { /* <button type="submit">Submit</button> */ }
298
298
</ form >
299
299
300
300
< Container sx = { { marginTop : "2rem" } } >
You can’t perform that action at this time.
0 commit comments