Skip to content

Commit 73f2c1a

Browse files
authored
Merge pull request #4180 from KelvinTegelaar/dev
Dev to hotfix
2 parents 19ff0c5 + 5b80306 commit 73f2c1a

File tree

21 files changed

+1878
-191
lines changed

21 files changed

+1878
-191
lines changed

public/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "8.0.0"
2+
"version": "8.0.1"
33
}

src/components/CippCards/CippDomainCards.jsx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ function DomainResultCard({ title, data, isFetching, info, type }) {
152152
? {
153153
children: (
154154
<Grid container spacing={2}>
155-
<Grid item size={{ xs: 12 }}>
155+
<Grid size={{ xs: 12 }}>
156156
{info}
157157
</Grid>
158158
</Grid>
@@ -182,7 +182,7 @@ function DomainResultCard({ title, data, isFetching, info, type }) {
182182
? {
183183
children: (
184184
//4 headers, "Record" and then <CippCodeBlock code={record?.Record} /> under it.
185-
(<>
185+
<>
186186
<Typography variant="h6" gutterBottom>
187187
Record:
188188
</Typography>
@@ -237,7 +237,7 @@ function DomainResultCard({ title, data, isFetching, info, type }) {
237237
value: email,
238238
}))}
239239
/>
240-
</>)
240+
</>
241241
),
242242
}
243243
: type === "SPF"
@@ -361,7 +361,7 @@ function DomainResultCard({ title, data, isFetching, info, type }) {
361361
}
362362
isFetching={isFetching}
363363
>
364-
<Grid item size={{ xs: 12 }}>
364+
<Grid size={{ xs: 12 }}>
365365
{info}
366366
</Grid>
367367
<CippOffCanvas visible={visible} onClose={() => setVisible(false)} {...offCanvasData} />
@@ -483,7 +483,7 @@ export const CippDomainCards = ({ domain: propDomain = "", fullwidth = false })
483483
return (
484484
<form onSubmit={handleSubmit(onSubmit)}>
485485
<Grid container spacing={3}>
486-
<Grid item size={{ xs: fullwidth ? 12 : 4 }}>
486+
<Grid size={{ xs: 12, md: gridItemSize }}>
487487
<CippButtonCard
488488
title="Domain Check"
489489
cardSx={{ display: "flex", flexDirection: "column", height: "100%" }}
@@ -496,7 +496,7 @@ export const CippDomainCards = ({ domain: propDomain = "", fullwidth = false })
496496
}
497497
>
498498
<Grid container spacing={2}>
499-
<Grid item size={{ xs: 8 }}>
499+
<Grid size={{ xs: 8 }}>
500500
<Controller
501501
name="domain"
502502
control={control}
@@ -505,7 +505,7 @@ export const CippDomainCards = ({ domain: propDomain = "", fullwidth = false })
505505
)}
506506
/>
507507
</Grid>
508-
<Grid item size={{ xs: 4 }}>
508+
<Grid size={{ xs: 4 }}>
509509
<Button type="submit" variant="contained" startIcon={<SearchIcon />}>
510510
Check
511511
</Button>
@@ -562,7 +562,7 @@ export const CippDomainCards = ({ domain: propDomain = "", fullwidth = false })
562562

563563
{domain && (
564564
<>
565-
<Grid item size={{ md: gridItemSize, xs: 12 }}>
565+
<Grid size={{ md: gridItemSize, xs: 12 }}>
566566
<DomainResultCard
567567
title="Whois Results"
568568
type="whois"
@@ -575,7 +575,7 @@ export const CippDomainCards = ({ domain: propDomain = "", fullwidth = false })
575575
}
576576
/>
577577
</Grid>
578-
<Grid item size={{ md: gridItemSize, xs: 12 }}>
578+
<Grid size={{ md: gridItemSize, xs: 12 }}>
579579
<DomainResultCard
580580
title="NS Records"
581581
data={nsData}
@@ -588,10 +588,10 @@ export const CippDomainCards = ({ domain: propDomain = "", fullwidth = false })
588588
}
589589
/>
590590
</Grid>
591-
<Grid item size={{ md: gridItemSize, xs: 12 }}>
591+
<Grid size={{ md: gridItemSize, xs: 12 }}>
592592
<MXResultsCard domain={domain} mxData={mxData} isFetching={mxLoading} />
593593
</Grid>
594-
<Grid item size={{ md: gridItemSize, xs: 12 }}>
594+
<Grid size={{ md: gridItemSize, xs: 12 }}>
595595
<DomainResultCard
596596
title="SPF Record"
597597
type="SPF"
@@ -610,7 +610,7 @@ export const CippDomainCards = ({ domain: propDomain = "", fullwidth = false })
610610
}
611611
/>
612612
</Grid>
613-
<Grid item size={{ md: gridItemSize, xs: 12 }}>
613+
<Grid size={{ md: gridItemSize, xs: 12 }}>
614614
<DomainResultCard
615615
title="DMARC Policy"
616616
type="DMARC"
@@ -629,7 +629,7 @@ export const CippDomainCards = ({ domain: propDomain = "", fullwidth = false })
629629
}
630630
/>
631631
</Grid>
632-
<Grid item size={{ md: gridItemSize, xs: 12 }}>
632+
<Grid size={{ md: gridItemSize, xs: 12 }}>
633633
<DomainResultCard
634634
title="DKIM Record"
635635
data={dkimData}
@@ -648,7 +648,7 @@ export const CippDomainCards = ({ domain: propDomain = "", fullwidth = false })
648648
}
649649
/>
650650
</Grid>
651-
<Grid item size={{ md: gridItemSize, xs: 12 }}>
651+
<Grid size={{ md: gridItemSize, xs: 12 }}>
652652
<DomainResultCard
653653
title="DNSSEC"
654654
type={"DNSSEC"}
@@ -665,7 +665,7 @@ export const CippDomainCards = ({ domain: propDomain = "", fullwidth = false })
665665
}
666666
/>
667667
</Grid>
668-
<Grid item size={{ md: gridItemSize, xs: 12 }}>
668+
<Grid size={{ md: gridItemSize, xs: 12 }}>
669669
<DomainResultCard
670670
title="MTA-STS"
671671
type="MTA-STS"
@@ -685,7 +685,7 @@ export const CippDomainCards = ({ domain: propDomain = "", fullwidth = false })
685685
/>
686686
</Grid>
687687
{enableHttps && (
688-
<Grid item size={{ md: gridItemSize, xs: 12 }}>
688+
<Grid size={{ md: gridItemSize, xs: 12 }}>
689689
<DomainResultCard
690690
title="HTTPS Certificate"
691691
type="HTTPS"

0 commit comments

Comments
 (0)