StaticMenuBar

This commit is contained in:
2026-01-28 20:35:52 +11:00
parent 0b595e81ed
commit 39da3c825f
2 changed files with 9 additions and 3 deletions

View File

@@ -95,6 +95,11 @@ document.addEventListener('DOMContentLoaded', () => {
// Trigger reflow // Trigger reflow
void feedView.offsetWidth; void feedView.offsetWidth;
feedView.classList.add('fade-in'); feedView.classList.add('fade-in');
// Remove fade-in class after animation to fix fixed positioning context
setTimeout(() => {
feedView.classList.remove('fade-in');
}, 600);
}, 600); // Wait for transition }, 600); // Wait for transition
} }
} }

View File

@@ -522,16 +522,17 @@ p {
.bottom-nav { .bottom-nav {
position: fixed; position: fixed;
bottom: 0; bottom: 0;
left: 0; left: 50%;
transform: translateX(-50%);
width: 100%; width: 100%;
max-width: 480px;
background: rgba(10, 10, 11, 0.95); background: rgba(10, 10, 11, 0.95);
backdrop-filter: blur(20px); backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
border-top: 1px solid var(--glass-border); border-top: 1px solid var(--glass-border);
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
padding: 12px 0 25px; padding: 12px 0;
/* Extra padding for iOS home bar */
z-index: 100; z-index: 100;
} }