fix: sign in buttons showing in mobile navbar when hidden (#6232)

This commit is contained in:
Truman Gao
2026-05-28 19:18:20 -06:00
committed by GitHub
parent 527f2f800b
commit 2048d8008a
+10
View File
@@ -1386,7 +1386,11 @@ const { cycle: changeTheme } = useTheme()
&-mobile {
.account-container {
opacity: 0;
padding-bottom: 0;
pointer-events: none;
transition: opacity 0.15s ease-in-out;
visibility: hidden;
.account-button {
padding: var(--spacing-card-md);
@@ -1409,6 +1413,12 @@ const { cycle: changeTheme } = useTheme()
&.expanded {
transform: translateY(0);
box-shadow: 0 0 20px 2px rgba(0, 0, 0, 0.3);
.account-container {
opacity: 1;
pointer-events: auto;
visibility: visible;
}
}
}
}