Skip to content

Commit b9f5995

Browse files
committed
aliged Help Accordians in center same as Contact form
1 parent 4f65082 commit b9f5995

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/pages/Help.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
AccordionSummary,
55
Typography,
66
AccordionDetails,
7+
Container,
78
} from "@mui/material";
89
import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
910
import { HelpHeaders } from "../enums/HelpHeaders";
@@ -26,7 +27,7 @@ export const Help = () => {
2627
};
2728

2829
return (
29-
<div>
30+
<Container maxWidth={"md"}>
3031
{headers.map((header, index) => (
3132
<Accordion
3233
key={header}
@@ -37,7 +38,7 @@ export const Help = () => {
3738
boxShadow: "0px 0px 10px 0px rgba(0.5,0,0,0.1)",
3839
borderRadius: "50px !important",
3940
borderBottom: "11px solid #e0e0e0",
40-
marginTop: "0.25rem",
41+
marginTop: "1.75rem",
4142
"&.MuiAccordion-root:before": {
4243
backgroundColor: "white",
4344
},
@@ -52,7 +53,7 @@ export const Help = () => {
5253
id={header}
5354
sx={{
5455
"& .MuiAccordionSummary-content": {
55-
marginRight: 5,
56+
// marginRight: 5,
5657
},
5758
}}
5859
>
@@ -94,6 +95,6 @@ export const Help = () => {
9495
</AccordionDetails>
9596
</Accordion>
9697
))}
97-
</div>
98+
</Container>
9899
);
99100
};

0 commit comments

Comments
 (0)