Skip to content

Commit 09757d5

Browse files
authored
Merge pull request #919 from web3dev1337/fix/ui-website
fix: prevent fixed nav from overlapping hero content
2 parents d2a604e + 2be9b73 commit 09757d5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

site/styles.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ body {
197197
/* Hero Section Fluid */
198198
.hero-fluid {
199199
min-height: min(100vh, 900px);
200-
padding: 10vh max(5vw, 2rem) 5vh;
200+
padding: max(12vh, 5rem) max(5vw, 2rem) 5vh;
201201
display: grid;
202202
grid-template-columns: 1fr 1fr;
203203
gap: 4vw;
@@ -1589,7 +1589,7 @@ body.legal-page {
15891589
.hero-fluid {
15901590
grid-template-columns: 1fr;
15911591
text-align: center;
1592-
padding-top: 15vh;
1592+
padding-top: max(15vh, 5rem);
15931593
}
15941594

15951595
.hero-content {

0 commit comments

Comments
 (0)