Skip to content

Commit

Permalink
fix(faq): adjust width and margins of toggle dropdowns (#787)
Browse files Browse the repository at this point in the history
Co-authored-by: ykIsCoding <[email protected]>
  • Loading branch information
wei2912 and ykIsCoding committed Jan 19, 2025
1 parent 5e75270 commit d260bb1
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions src/app/faq/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -281,13 +281,29 @@ const StyledQNA = ({
expandIcon={<ExpandMoreIcon />}
aria-controls="panel1a-content"
id="panel1a-header"
style={{ marginTop: "-12px" }}
>
<Typography>
<Typography
style={{
fontSize: "1.2rem",
textAlign: "justify",
padding: "1%",
}}
>
<b>{question}</b>
</Typography>
</AccordionSummary>
<AccordionDetails style={{ whiteSpace: "pre-wrap", marginTop: "-20px" }}>
{answer}
<AccordionDetails style={{ padding: "0px 16px", marginTop: "-20px" }}>
<div
style={{
fontSize: "1.2rem",
textAlign: "justify",
paddingLeft: "1%",
paddingRight: "1%",
}}
>
{answer}
</div>
</AccordionDetails>
</StyledAccordion>
);
Expand Down

0 comments on commit d260bb1

Please sign in to comment.