Skip to content

Commit e0403c7

Browse files
committed
feat: Add nav-right class, hide navigation links on mobile, and remove auto margins from feature sections.
1 parent 67b4bbf commit e0403c7

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

docs/index.html

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,12 @@
161161
gap: 1.5rem;
162162
}
163163

164+
.nav-right {
165+
display: flex;
166+
gap: 1.5rem;
167+
align-items: center;
168+
}
169+
164170
.nav-links a {
165171
color: var(--text-muted);
166172
text-decoration: none;
@@ -180,16 +186,9 @@
180186
justify-content: center;
181187
}
182188

183-
/* Show nav links on mobile, but stack them or center them */
189+
/* Hide nav links on mobile to prevent layout issues */
184190
.nav-links {
185-
display: flex;
186-
order: 3;
187-
/* Move to bottom of flex container if wrapping */
188-
width: 100%;
189-
justify-content: center;
190-
gap: 1.5rem;
191-
padding-top: 0.5rem;
192-
border-top: 1px solid rgba(255, 255, 255, 0.05);
191+
display: none;
193192
}
194193

195194
.logo {
@@ -596,7 +595,7 @@
596595
<div class="container">
597596
<nav>
598597
<a href="#" class="logo">git<span>-</span>scope</a>
599-
<div style="display: flex; gap: 1.5rem; align-items: center;">
598+
<div class="nav-right">
600599
<div class="nav-links">
601600
<a href="#features">Features</a>
602601
<a href="#blog">Blog</a>
@@ -760,7 +759,7 @@ <h3><span class="card-icon">⏰</span> Timeline</h3>
760759
Coming Soon</p>
761760
<h2 style="font-size: clamp(2rem, 3vw, 2.5rem); margin-bottom: 3rem; font-weight: 700;">Roadmap</h2>
762761

763-
<div class="features" style="max-width: 900px; margin: 0 auto; text-align: left;">
762+
<div class="features" style="max-width: 900px; text-align: left;">
764763
<div class="card">
765764
<h3><span class="card-icon">👁️</span> Background Watcher</h3>
766765
<p>Daemon mode to watch filesystem changes in real-time without manual rescans.</p>
@@ -783,7 +782,7 @@ <h3><span class="card-icon">👥</span> Team Dashboards</h3>
783782
<h2 style="font-size: clamp(2rem, 3vw, 2.5rem); margin-bottom: 3rem; font-weight: 700;">Resources &
784783
Guides</h2>
785784

786-
<div class="features" style="max-width: 900px; margin: 0 auto; text-align: left;">
785+
<div class="features" style="max-width: 900px; text-align: left;">
787786
<a href="https://dev.to/iam_pbk/how-to-tame-your-multi-repo-chaos-with-the-terminal-52bi"
788787
target="_blank" class="card" style="text-decoration: none; display: block; height: 100%;">
789788
<h3><span class="card-icon">🤯</span> Taming Multi-Repo Chaos</h3>

0 commit comments

Comments
 (0)