Skip to content

Commit

Permalink
smaller title text for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzhang1618 committed Dec 10, 2024
1 parent be08211 commit a220d26
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/sections/Sponsors/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ const Sponsors: React.FC = () => {
return (
<section className={styles.container}>
<div className={styles.content}>
<Typography variant="display/heavy/small">Thank you to our past sponsors...</Typography>
<Typography variant="display/heavy/small" className={styles.title}>
Thank you to our past sponsors...
</Typography>
<div className={styles.sponsorLogos}>
{SPONSORS.map(sponsor => (
<Link href={sponsor.link} key={sponsor.name}>
Expand Down
8 changes: 7 additions & 1 deletion src/sections/Sponsors/style.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
padding-bottom: 5rem;
}
}

.content {
display: flex;
flex-direction: column;
Expand All @@ -25,6 +24,13 @@
text-align: center;
}

.title {
@media screen and (max-width: vars.$breakpoint-md) {
font-size: 2.25rem !important;
line-height: 2.625rem !important;
}
}

.sponsorLogos {
display: flex;
flex-wrap: wrap;
Expand Down

0 comments on commit a220d26

Please sign in to comment.