@@ -23,7 +23,7 @@ import {
23
23
import { AppState , useAppDispatch } from "../../../store" ;
24
24
import { useSelector } from "react-redux" ;
25
25
import { useNavigate } from "react-router-dom" ;
26
- import { Button , HelpBox , Loader , WarnIcon } from "mds" ;
26
+ import { Box , Button , Grid , HelpBox , Loader , WarnIcon } from "mds" ;
27
27
import {
28
28
DiagStatError ,
29
29
DiagStatInProgress ,
@@ -44,7 +44,6 @@ import {
44
44
actionsTray ,
45
45
containerForHeader ,
46
46
} from "../Common/FormComponents/common/styleLibrary" ;
47
- import { Grid } from "@mui/material" ;
48
47
49
48
import TestWrapper from "../Common/TestWrapper/TestWrapper" ;
50
49
import PageLayout from "../Common/Layout/PageLayout" ;
@@ -54,8 +53,8 @@ import {
54
53
healthInfoResetMessage ,
55
54
} from "./healthInfoSlice" ;
56
55
import RegisterCluster from "../Support/RegisterCluster" ;
57
- import { registeredCluster } from "../../../config" ;
58
56
import PageHeaderWrapper from "../Common/PageHeaderWrapper/PageHeaderWrapper" ;
57
+ import { registeredCluster } from "../../../config" ;
59
58
60
59
const styles = ( theme : Theme ) =>
61
60
createStyles ( {
@@ -310,8 +309,15 @@ const HealthInfo = ({ classes }: IHealthInfo) => {
310
309
</ div >
311
310
) : (
312
311
< Fragment >
313
- < Grid container justifyItems = { "flex-start" } >
314
- < Grid item xs = { 6 } >
312
+ < Box
313
+ sx = { {
314
+ display : "flex" ,
315
+ gap : 10 ,
316
+ alignItems : "center" ,
317
+ justifyContent : "center" ,
318
+ } }
319
+ >
320
+ < Box >
315
321
{ serverDiagnosticStatus !== DiagStatError &&
316
322
! downloadDisabled && (
317
323
< Button
@@ -323,8 +329,8 @@ const HealthInfo = ({ classes }: IHealthInfo) => {
323
329
label = { "Download" }
324
330
/>
325
331
) }
326
- </ Grid >
327
- < Grid item xs = { 6 } >
332
+ </ Box >
333
+ < Box >
328
334
< Button
329
335
id = "start-new-diagnostic"
330
336
type = "submit"
@@ -335,8 +341,8 @@ const HealthInfo = ({ classes }: IHealthInfo) => {
335
341
onClick = { startDiagnosticAction }
336
342
label = { buttonStartText }
337
343
/>
338
- </ Grid >
339
- </ Grid >
344
+ </ Box >
345
+ </ Box >
340
346
</ Fragment >
341
347
) }
342
348
</ Grid >
0 commit comments