File tree Expand file tree Collapse file tree 1 file changed +33
-33
lines changed
packages/oscal-react-library/src/components Expand file tree Collapse file tree 1 file changed +33
-33
lines changed Original file line number Diff line number Diff line change @@ -40,40 +40,40 @@ export default function OSCALLoaderForm(props) {
4040 < Grid container spacing = { 3 } >
4141 { ! props . isRestMode && (
4242 < >
43- < Grid item xs = { 6 } md = { 9 } >
44- < TextField
45- id = "oscal-url"
46- label = { `OSCAL ${ props . oscalObjectType . name } URL` }
47- defaultValue = { props . oscalUrl }
48- helperText = "(JSON Format)"
49- variant = "outlined"
50- fullWidth
51- inputRef = { url }
52- />
53- </ Grid >
54- < Grid item xs = { 4 } md = { 2 } >
43+ < Grid item xs = { 12 } md = { 12 } >
5544 < Stack direction = "row" spacing = { 1 } >
56- < Button
57- variant = "contained"
58- size = "large"
59- color = "primary"
60- endIcon = { < ReplayIcon > send</ ReplayIcon > }
61- disabled = { ! props . isResolutionComplete }
62- type = "submit"
63- >
64- Reload
65- </ Button >
66- < Button
67- variant = "contained"
68- size = "large"
69- color = "secondary"
70- endIcon = { < FileUploadIcon /> }
71- component = "label"
72- disabled = { ! props . isResolutionComplete }
73- >
74- Upload
75- < input type = "file" hidden accept = "application/json" onChange = { onUpload } />
76- </ Button >
45+ < TextField
46+ id = "oscal-url"
47+ label = { `OSCAL ${ props . oscalObjectType . name } URL` }
48+ defaultValue = { props . oscalUrl }
49+ helperText = "(JSON Format)"
50+ variant = "outlined"
51+ fullWidth
52+ inputRef = { url }
53+ />
54+ < Stack direction = "row" spacing = { 1 } sx = { { height : "3.5rem" } } >
55+ < Button
56+ variant = "contained"
57+ size = "large"
58+ color = "primary"
59+ endIcon = { < ReplayIcon > send</ ReplayIcon > }
60+ disabled = { ! props . isResolutionComplete }
61+ type = "submit"
62+ >
63+ Reload
64+ </ Button >
65+ < Button
66+ variant = "contained"
67+ size = "large"
68+ color = "secondary"
69+ endIcon = { < FileUploadIcon /> }
70+ component = "label"
71+ disabled = { ! props . isResolutionComplete }
72+ >
73+ Upload
74+ < input type = "file" hidden accept = "application/json" onChange = { onUpload } />
75+ </ Button >
76+ </ Stack >
7777 </ Stack >
7878 </ Grid >
7979 </ >
You can’t perform that action at this time.
0 commit comments