Skip to content

Commit 2291feb

Browse files
author
ddrayko
committed
fix: use vh-based hero padding at 1400px breakpoint for small PC screens
1 parent fd10d18 commit 2291feb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

site/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1312,7 +1312,7 @@ body::after {
13121312

13131313
@media (max-width: 1400px) {
13141314
.hero {
1315-
padding: calc(var(--navbar-h) + 96px) 48px 60px clamp(200px, 18vw, 400px);
1315+
padding: calc(var(--navbar-h) + 15vh) 48px 60px clamp(200px, 18vw, 400px);
13161316
min-height: 100dvh;
13171317
align-items: flex-start;
13181318
}
@@ -1410,7 +1410,7 @@ body::after {
14101410
.feature-card--large { grid-column: 1; }
14111411

14121412
.hero {
1413-
padding: calc(var(--navbar-h) + 20vh) 20px 32px 20px;
1413+
padding: calc(var(--navbar-h) + 96px) 20px 32px 20px;
14141414
text-align: center;
14151415
justify-content: center;
14161416
min-height: auto;

0 commit comments

Comments
 (0)