fix(navbar): perbaiki z-index navbar dan dropdown agar selalu di depan hero section

This commit is contained in:
ardhikaxx 2026-02-25 03:34:33 +07:00
parent 41ade76f17
commit 03f19831a4
1 changed files with 6 additions and 1 deletions

View File

@ -882,6 +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: 99999;
} }
.dropdown-item { .dropdown-item {
@ -960,7 +961,7 @@ .auth-backdrop .orb-c {
.site-navbar { .site-navbar {
position: sticky; position: sticky;
top: 0.85rem; top: 0.85rem;
z-index: 1200; 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;
@ -1136,6 +1137,7 @@ .page-hero {
border: 1px solid rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.16);
background: linear-gradient(128deg, #0b3f50 0%, #0f766e 56%, #14b8a6 100%); background: linear-gradient(128deg, #0b3f50 0%, #0f766e 56%, #14b8a6 100%);
box-shadow: var(--shadow-3); box-shadow: var(--shadow-3);
z-index: 1;
} }
.page-hero::before { .page-hero::before {
@ -1176,6 +1178,7 @@ .home-hero {
color: #fff; color: #fff;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
z-index: 1;
} }
.home-hero::before { .home-hero::before {
@ -2006,6 +2009,8 @@ .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: 99999;
position: relative;
} }
.user-dropdown .dropdown-header { .user-dropdown .dropdown-header {