diff --git a/next-env.d.ts b/next-env.d.ts index 4f11a03d..40c3d680 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -2,4 +2,4 @@ /// // NOTE: This file should not be edited -// see https://nextjs.org/docs/basic-features/typescript for more information. +// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information. diff --git a/src/app/faq/page.tsx b/src/app/faq/page.tsx index d1922f84..0b46b203 100644 --- a/src/app/faq/page.tsx +++ b/src/app/faq/page.tsx @@ -258,16 +258,24 @@ const APPLICATION_QUESTIONS: QNA[] = [ }, ]; -const StyledAccordion = styled(Accordion)(() => { - return { - border: `1px solid var(--brand-color)`, +const StyledAccordion = styled(Accordion)(() => ({ + border: `1px solid var(--brand-color)`, + marginBottom: `10px`, + borderRadius: `8px`, + overflow: "hidden", + "&:not(:last-of-type)": { marginBottom: `10px`, - ".MuiAccordionDetails-root": {}, - ".MuiAccordionSummary-content": { - marginBottom: `0px`, - }, - }; -}); + borderRadius: `8px`, + }, + "&:last-of-type": { + marginBottom: `10px`, + borderRadius: `8px`, + }, + ".MuiAccordionDetails-root": {}, + ".MuiAccordionSummary-content": { + marginBottom: `0px`, + }, +})); const StyledQNA = ({ qna: { question, answer },