Fix user menu in dark mode.
This commit is contained in:
@@ -656,6 +656,7 @@
|
||||
background-color: var(--dropdown-bg) !important;
|
||||
border: 1px solid var(--border-primary);
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
|
||||
z-index: 1000 !important; /* Ensure dropdown is above other elements */
|
||||
}
|
||||
|
||||
[data-theme="dark"] .user-dropdown-header {
|
||||
@@ -685,6 +686,13 @@
|
||||
border-top: 1px solid var(--border-primary);
|
||||
}
|
||||
|
||||
/* Fix dropdown toggle interaction in dark mode */
|
||||
[data-theme="dark"] .user-dropdown-toggle {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Override mobile-specific white background */
|
||||
@media (max-width: 1024px) {
|
||||
[data-theme="dark"] .sidebar.active .user-dropdown-modal.active,
|
||||
|
||||
Reference in New Issue
Block a user