fix(navbar): tingkatkan z-index navbar ke 9999 dan dropdown ke 99999, tambah position static pada container

This commit is contained in:
ardhikaxx 2026-02-25 04:08:17 +07:00
parent 530a4946fc
commit 747ff1242e
1 changed files with 17 additions and 3 deletions

View File

@ -882,7 +882,7 @@ .dropdown-menu {
border: 1px solid rgba(16, 38, 50, 0.12); border: 1px solid rgba(16, 38, 50, 0.12);
border-radius: 12px; border-radius: 12px;
box-shadow: var(--shadow-2); box-shadow: var(--shadow-2);
z-index: 1050; z-index: 99999;
position: absolute !important; position: absolute !important;
} }
@ -962,7 +962,7 @@ .auth-backdrop .orb-c {
.site-navbar { .site-navbar {
position: sticky; position: sticky;
top: 0.85rem; top: 0.85rem;
z-index: 1000; z-index: 9999;
margin: 0.85rem auto 0; margin: 0.85rem auto 0;
width: calc(100% - 2rem); width: calc(100% - 2rem);
max-width: 1240px; max-width: 1240px;
@ -2014,7 +2014,7 @@ .user-dropdown {
box-shadow: 0 14px 32px rgba(10, 34, 46, 0.18); box-shadow: 0 14px 32px rgba(10, 34, 46, 0.18);
padding: 0.5rem; padding: 0.5rem;
margin-top: 0.5rem; margin-top: 0.5rem;
z-index: 1050; z-index: 99999;
position: absolute !important; position: absolute !important;
} }
@ -2143,3 +2143,17 @@ @media (max-width: 1199.98px) {
font-size: 0.9rem; font-size: 0.9rem;
} }
} }
/* Ensure navbar container doesn't clip dropdown */
.site-navbar .container {
position: static;
}
.site-navbar .navbar-collapse {
position: static;
}
.site-navbar .nav-auth-actions {
position: static;
}