diff --git a/src/components/layout/ParagraphSection/index.tsx b/src/components/layout/ParagraphSection/index.tsx index 7190592..f98aa8c 100644 --- a/src/components/layout/ParagraphSection/index.tsx +++ b/src/components/layout/ParagraphSection/index.tsx @@ -9,9 +9,9 @@ type Data = { tags?: string[]; } -export default function ParagraphSection({ data, children }: { data: Data, children?: React.ReactNode }) { +export default function ParagraphSection({ data, children, className }: { data: Data, children?: React.ReactNode, className?: string }) { return ( -
+

{data.title} {data.content}

diff --git a/src/pages/Social/Foundation.module.css b/src/pages/Social/Foundation.module.css index fc4a2d2..66e8e85 100644 --- a/src/pages/Social/Foundation.module.css +++ b/src/pages/Social/Foundation.module.css @@ -1,7 +1,13 @@ .topTabsSection { padding: 0 !important; + height: 94vh; } +.topTabsSectionP { + padding-bottom: 0 !important; +} + + /* 公益传播 */ .publicWelfareDataItems { /* 2列 */ diff --git a/src/pages/Social/Foundation.tsx b/src/pages/Social/Foundation.tsx index 0dbc021..26229f5 100644 --- a/src/pages/Social/Foundation.tsx +++ b/src/pages/Social/Foundation.tsx @@ -79,7 +79,7 @@ export default function Foundation() { /> {section1Data && ( - +
{section1Data.tabItems && }