Skip to content

Commit 2faaa95

Browse files
committed
fix(website): improve responsive hero sizing
1 parent 0e7a17d commit 2faaa95

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

website/theme/components/Hero.module.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
.title {
4848
margin: 0;
4949
color: var(--hero-title);
50-
font-size: clamp(3rem, 4.5vw, 4rem);
50+
font-size: clamp(3rem, 7vw, 4rem);
5151
font-weight: 600;
5252
line-height: 1.1;
5353
letter-spacing: -0.055em;
@@ -66,7 +66,7 @@
6666
max-width: 42rem;
6767
margin: clamp(2.5rem, 5vh, 3.75rem) 0 0;
6868
color: var(--hero-text);
69-
font-size: clamp(1rem, 1.25vw, 1.25rem);
69+
font-size: clamp(1rem, 2vw, 1.25rem);
7070
font-weight: 400;
7171
line-height: 1.5;
7272
letter-spacing: -0.02em;
@@ -143,7 +143,7 @@
143143
}
144144

145145
.description {
146-
max-width: 28rem;
146+
max-width: 30rem;
147147
margin-top: 2rem;
148148
font-size: 0.9375rem;
149149
line-height: 1.55;

0 commit comments

Comments
 (0)