mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 00:55:25 +00:00
fix: sign in buttons showing in mobile navbar when hidden (#6232)
This commit is contained in:
@@ -1386,7 +1386,11 @@ const { cycle: changeTheme } = useTheme()
|
|||||||
|
|
||||||
&-mobile {
|
&-mobile {
|
||||||
.account-container {
|
.account-container {
|
||||||
|
opacity: 0;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
transition: opacity 0.15s ease-in-out;
|
||||||
|
visibility: hidden;
|
||||||
|
|
||||||
.account-button {
|
.account-button {
|
||||||
padding: var(--spacing-card-md);
|
padding: var(--spacing-card-md);
|
||||||
@@ -1409,6 +1413,12 @@ const { cycle: changeTheme } = useTheme()
|
|||||||
&.expanded {
|
&.expanded {
|
||||||
transform: translateY(0);
|
transform: translateY(0);
|
||||||
box-shadow: 0 0 20px 2px rgba(0, 0, 0, 0.3);
|
box-shadow: 0 0 20px 2px rgba(0, 0, 0, 0.3);
|
||||||
|
|
||||||
|
.account-container {
|
||||||
|
opacity: 1;
|
||||||
|
pointer-events: auto;
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user