Skip to content

Commit c51c079

Browse files
congwang-mkclaude
andcommitted
Move mobile nav outside header to fix backdrop-filter clipping
backdrop-filter on the header creates a new containing block in mobile browsers, causing position:fixed children to be clipped to the 64px header height. Moving the mobile nav to a sibling of the header fixes the visibility issue. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d7f0d4a commit c51c079

1 file changed

Lines changed: 17 additions & 15 deletions

File tree

_layouts/default.html

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -395,23 +395,25 @@
395395
</button>
396396
</div>
397397

398-
<div class="site-mobile-nav">
399-
<div class="site-mobile-nav-inner">
400-
<a href="/" class="site-mobile-link {% if page.url == '/' %}active{% endif %}">Home</a>
401-
<a href="/products/platform.html" class="site-mobile-link {% if page.url == '/products/platform.html' %}active{% endif %}">Multikernel Platform</a>
402-
<a href="/products/enclaves.html" class="site-mobile-link {% if page.url == '/products/enclaves.html' %}active{% endif %}">Multikernel Enclaves</a>
403-
<a href="/products/resilience.html" class="site-mobile-link {% if page.url == '/products/resilience.html' %}active{% endif %}">Multikernel Resilience</a>
404-
<a href="/technology.html" class="site-mobile-link {% if page.url == '/technology.html' %}active{% endif %}">Technology</a>
405-
<a href="/roadmap.html" class="site-mobile-link {% if page.url == '/roadmap.html' %}active{% endif %}">Roadmap</a>
406-
<a href="/faq.html" class="site-mobile-link {% if page.url == '/faq.html' %}active{% endif %}">FAQ</a>
407-
<a href="/getting-started.html" class="site-mobile-link {% if page.url == '/getting-started.html' %}active{% endif %}">Getting Started</a>
408-
<a href="/blog/" class="site-mobile-link {% if page.url contains '/blog' or page.layout == 'post' %}active{% endif %}">Blog</a>
409-
<a href="/about.html" class="site-mobile-link {% if page.url == '/about.html' %}active{% endif %}">About</a>
410-
<a href="https://github.com/multikernel" target="_blank" class="site-mobile-link">GitHub</a>
411-
<a href="https://calendar.app.google/nc1upkqQoUeoukdD9" target="_blank" rel="noopener noreferrer" class="site-mobile-cta">Schedule a Demo</a>
412-
</div>
413398
</div>
414399
</header>
400+
401+
<div class="site-mobile-nav">
402+
<div class="site-mobile-nav-inner">
403+
<a href="/" class="site-mobile-link {% if page.url == '/' %}active{% endif %}">Home</a>
404+
<a href="/products/platform.html" class="site-mobile-link {% if page.url == '/products/platform.html' %}active{% endif %}">Multikernel Platform</a>
405+
<a href="/products/enclaves.html" class="site-mobile-link {% if page.url == '/products/enclaves.html' %}active{% endif %}">Multikernel Enclaves</a>
406+
<a href="/products/resilience.html" class="site-mobile-link {% if page.url == '/products/resilience.html' %}active{% endif %}">Multikernel Resilience</a>
407+
<a href="/technology.html" class="site-mobile-link {% if page.url == '/technology.html' %}active{% endif %}">Technology</a>
408+
<a href="/roadmap.html" class="site-mobile-link {% if page.url == '/roadmap.html' %}active{% endif %}">Roadmap</a>
409+
<a href="/faq.html" class="site-mobile-link {% if page.url == '/faq.html' %}active{% endif %}">FAQ</a>
410+
<a href="/getting-started.html" class="site-mobile-link {% if page.url == '/getting-started.html' %}active{% endif %}">Getting Started</a>
411+
<a href="/blog/" class="site-mobile-link {% if page.url contains '/blog' or page.layout == 'post' %}active{% endif %}">Blog</a>
412+
<a href="/about.html" class="site-mobile-link {% if page.url == '/about.html' %}active{% endif %}">About</a>
413+
<a href="https://github.com/multikernel" target="_blank" class="site-mobile-link">GitHub</a>
414+
<a href="https://calendar.app.google/nc1upkqQoUeoukdD9" target="_blank" rel="noopener noreferrer" class="site-mobile-cta">Schedule a Demo</a>
415+
</div>
416+
</div>
415417

416418
{{ content }}
417419

0 commit comments

Comments
 (0)