fix: keep mobile tabs immediately reachable
This commit is contained in:
@@ -1052,3 +1052,44 @@ select {
|
||||
.project-card {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Mobile reachability patch: tabs live immediately under the hero, and the page itself never side-scrolls. */
|
||||
html,
|
||||
body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.hero-stats,
|
||||
.hero-stats div,
|
||||
.hero-copy,
|
||||
.hero-goal {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.hero-copy,
|
||||
.hero-goal {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
@media (max-width: 860px) {
|
||||
.tab-bar {
|
||||
top: 0.4rem;
|
||||
margin-top: 0.65rem;
|
||||
}
|
||||
|
||||
.hero-card {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.hero-stats {
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.hero-stats div {
|
||||
padding: 0.7rem;
|
||||
}
|
||||
|
||||
.hero-stats strong {
|
||||
font-size: 1.35rem;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user