From dc104146ce0eda98bc1add4363f8dd9bcc746a31 Mon Sep 17 00:00:00 2001 From: Erick Zhao Date: Fri, 17 Jan 2025 18:00:33 -0800 Subject: [PATCH] fix: avoid leaking `h2` styles globally (#742) --- src/pages/home/_components/FeaturedAppsCarousel.module.scss | 2 +- src/pages/home/_components/FeaturedAppsCarousel.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/home/_components/FeaturedAppsCarousel.module.scss b/src/pages/home/_components/FeaturedAppsCarousel.module.scss index 4edac87d2..23be77fc3 100644 --- a/src/pages/home/_components/FeaturedAppsCarousel.module.scss +++ b/src/pages/home/_components/FeaturedAppsCarousel.module.scss @@ -1,4 +1,4 @@ -h2 { +.heading { font-size: 2.5em; font-weight: 900; } diff --git a/src/pages/home/_components/FeaturedAppsCarousel.tsx b/src/pages/home/_components/FeaturedAppsCarousel.tsx index 5d725dbc0..17b252f55 100644 --- a/src/pages/home/_components/FeaturedAppsCarousel.tsx +++ b/src/pages/home/_components/FeaturedAppsCarousel.tsx @@ -21,7 +21,7 @@ export default function FeaturedAppsCarousel({ return (
-

Trusted by best-in-class apps

+

Trusted by best-in-class apps

{ 'Popular consumer and rock-solid enterprise apps use Electron to power their desktop experiences.'