diff --git a/site/src/components/common/HeadingSection/HeadingSection.tsx b/site/src/components/common/HeadingSection/HeadingSection.tsx index 7f7b41a8..498fbb8c 100644 --- a/site/src/components/common/HeadingSection/HeadingSection.tsx +++ b/site/src/components/common/HeadingSection/HeadingSection.tsx @@ -8,7 +8,13 @@ import { headingIcons } from './data' import s from './HeadingSection.module.scss' -function HeadingSection({ className, title, description, socials }: InferProps) { +function HeadingSection({ + className, + descriptionClassName, + title, + description, + socials, +}: InferProps) { const getIcons = useMemo( () => headingIcons[socials as keyof typeof headingIcons]?.map((el) => ( @@ -20,7 +26,7 @@ function HeadingSection({ className, title, description, socials }: InferProps

{title}

- {description &&

{description}

} + {description &&

{description}

} {socials &&
{getIcons}
} ) @@ -28,6 +34,7 @@ function HeadingSection({ className, title, description, socials }: InferProps
- + {!isMobile && }
diff --git a/site/src/components/pages/ZkSharding/More/More.module.scss b/site/src/components/pages/ZkSharding/More/More.module.scss index 2c972372..17a1099f 100644 --- a/site/src/components/pages/ZkSharding/More/More.module.scss +++ b/site/src/components/pages/ZkSharding/More/More.module.scss @@ -111,10 +111,6 @@ align-items: center; } -.description { - color: $grey; -} - .heading { min-height: unset; @@ -145,6 +141,12 @@ } } +.description { + @include mobile { + width: auto; + } +} + .list { display: flex; flex-wrap: wrap; diff --git a/site/src/components/pages/ZkSharding/More/More.tsx b/site/src/components/pages/ZkSharding/More/More.tsx index c424570f..8ed88701 100644 --- a/site/src/components/pages/ZkSharding/More/More.tsx +++ b/site/src/components/pages/ZkSharding/More/More.tsx @@ -23,7 +23,12 @@ const More = ({ data: { title, description, contentFooter, footer }, className }
- + {!isMobile && }