From b9371fbdfd5c4af8e432cc669d42e1feb1d6eb15 Mon Sep 17 00:00:00 2001
From: fynks <75840152+fynks@users.noreply.github.com>
Date: Sun, 22 Mar 2026 23:48:42 +0500
Subject: [PATCH] fix: update meta tag for mobile web app capability and adjust
inert state handling based on viewport
---
dist/index.html | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/dist/index.html b/dist/index.html
index fed7f41..15bcacd 100644
--- a/dist/index.html
+++ b/dist/index.html
@@ -49,7 +49,7 @@
-
+
@@ -1998,9 +1998,13 @@
elements.dropdownTriggers = Array.from(document.querySelectorAll('.nav-dropdown-trigger'));
buildMobileLinks();
- // Set initial inert state
- if (elements.nav && state.isMobile) {
- elements.nav.setAttribute('inert', '');
+ // Set initial inert state based on viewport
+ if (elements.nav) {
+ if (state.isMobile) {
+ elements.nav.setAttribute('inert', '');
+ } else {
+ elements.nav.removeAttribute('inert');
+ }
}
// Nav toggle click handler