Skip to content

Commit

Permalink
fix: avoid leaking h2 styles globally (#742)
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzhao authored Jan 18, 2025
1 parent d230771 commit dc10414
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
h2 {
.heading {
font-size: 2.5em;
font-weight: 900;
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/home/_components/FeaturedAppsCarousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function FeaturedAppsCarousel({
return (
<div className={clsx(styles.section)}>
<div style={{ textAlign: 'center', marginBottom: '6rem' }}>
<h2>Trusted by best-in-class apps</h2>
<h2 className={styles.heading}>Trusted by best-in-class apps</h2>
<p>
{
'Popular consumer and rock-solid enterprise apps use Electron to power their desktop experiences.'
Expand Down

0 comments on commit dc10414

Please sign in to comment.