diff --git a/src/modules/home/FAQItem.tsx b/src/modules/home/FAQItem.tsx index 96053adc..5739fd70 100644 --- a/src/modules/home/FAQItem.tsx +++ b/src/modules/home/FAQItem.tsx @@ -12,8 +12,8 @@ const TableContainer = styled(ContentContainer)({ }) const AccordionHeader = styled(AccordionSummary)(({ theme }) => ({ - minHeight: 40, - padding: "20px 38px", + height: 91, + padding: "0px 38px", background: theme.palette.primary.main, borderRadius: "8px" })) diff --git a/src/theme/index.ts b/src/theme/index.ts index ac0db551..a4d148e6 100644 --- a/src/theme/index.ts +++ b/src/theme/index.ts @@ -402,6 +402,16 @@ export const theme = createTheme({ rounded: { borderRadius: "8px" } + }, + MuiAccordionSummary: { + root: { + "minHeight": 91, + "& .Mui-expanded": { + minHeight: 91, + display: "flex", + alignItems: "center" + } + } } } }) diff --git a/src/theme/legacy.ts b/src/theme/legacy.ts index ed9be085..8c7d0a22 100644 --- a/src/theme/legacy.ts +++ b/src/theme/legacy.ts @@ -327,6 +327,13 @@ export const legacyTheme = createMuiTheme({ root: { display: "none" } + }, + MuiAccordionSummary: { + root: { + "& .Mui-expanded": { + minHeight: 91 + } + } } } })