fix: make mobile nav horizontally scrollable to prevent overflow
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -400,9 +400,17 @@ img { max-width: 100%; display: block; }
|
|||||||
/* === Responsive === */
|
/* === Responsive === */
|
||||||
@media (max-width: 640px) {
|
@media (max-width: 640px) {
|
||||||
.container { padding: 0 20px; }
|
.container { padding: 0 20px; }
|
||||||
.nav { padding: 0 20px; }
|
.nav { padding: 0; }
|
||||||
.nav-inner { gap: 16px; }
|
.nav-inner {
|
||||||
.nav-link { font-size: 0.8rem; }
|
gap: 20px;
|
||||||
|
padding: 0 20px;
|
||||||
|
overflow-x: auto;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
|
scrollbar-width: none;
|
||||||
|
}
|
||||||
|
.nav-inner::-webkit-scrollbar { display: none; }
|
||||||
|
.nav-link { font-size: 0.8rem; white-space: nowrap; }
|
||||||
|
.nav-logo { white-space: nowrap; }
|
||||||
.hero { padding: 80px 0 56px; }
|
.hero { padding: 80px 0 56px; }
|
||||||
.hero-photo { width: 120px; }
|
.hero-photo { width: 120px; }
|
||||||
.hero-name { font-size: 2rem; }
|
.hero-name { font-size: 2rem; }
|
||||||
|
|||||||
Reference in New Issue
Block a user