Skip to content

Commit c558725

Browse files
author
TechStack Global
committed
Fix header navigation on mobile
1 parent 888afbd commit c558725

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

style.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -973,3 +973,24 @@ img {
973973
display: none; /* Hide abstract elements on very small screens to save space */
974974
}
975975
}
976+
977+
/* Additional Mobile Fix for Navigation */
978+
@media screen and (max-width: 768px) {
979+
nav.container {
980+
flex-direction: column;
981+
align-items: center;
982+
gap: 1rem;
983+
}
984+
.nav-links {
985+
flex-wrap: wrap;
986+
justify-content: center;
987+
gap: 1rem;
988+
}
989+
.hero {
990+
padding-top: 2rem;
991+
text-align: center;
992+
}
993+
.hero-content h1 {
994+
font-size: 2.5rem;
995+
}
996+
}

0 commit comments

Comments
 (0)