Skip to content

Commit

Permalink
centered the text
Browse files Browse the repository at this point in the history
  • Loading branch information
ykIsCoding committed Jan 7, 2025
1 parent d1339c4 commit ac723d9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 251 deletions.
3 changes: 2 additions & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference types="next/navigation-types/compat/navigation" />

// 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.
248 changes: 0 additions & 248 deletions pages/faq.tsx

This file was deleted.

9 changes: 7 additions & 2 deletions src/app/faq/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,10 @@ const StyledQNA = ({
qna: QNA;
index: number;
}) => (
<StyledAccordion key={index}>
<StyledAccordion disableGutters key={index}>
<AccordionSummary
sx={{ minHeight: "0px", ".MuiAccordionSummary-content": { margin: 0 } }}
className="p-4"
expandIcon={<ExpandMoreIcon />}
aria-controls="panel1a-content"
id="panel1a-header"
Expand All @@ -286,7 +288,10 @@ const StyledQNA = ({
<b>{question}</b>
</Typography>
</AccordionSummary>
<AccordionDetails style={{ whiteSpace: "pre-wrap", marginTop: "-20px" }}>
<AccordionDetails
className="p-4 text-justify mr-5"
style={{ whiteSpace: "pre-wrap", marginTop: "-20px" }}
>
{answer}
</AccordionDetails>
</StyledAccordion>
Expand Down

0 comments on commit ac723d9

Please sign in to comment.