Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

fix(desktop-ui): keep light/dark logotype toggle in collapsed mobile bar

Diego Zacarias6bd9710d8898
diff --git a/desktop-app/ui/src/styles.css b/desktop-app/ui/src/styles.css
index 3bf86c9a2..8c7b0c277 100644
--- a/desktop-app/ui/src/styles.css
+++ b/desktop-app/ui/src/styles.css
@@ -10890,7 +10890,19 @@ pre {
display: none;
}
- .left-nav.collapsed .sidebar-logo-lockup {
+ /* Reveal the wordmark in the collapsed mobile bar, but keep the light/dark
+ toggle. Targeting the shared `.sidebar-logo-lockup` (0,3,0) would outrank
+ `.sidebar-logo-lockup--dark { display: none }` (0,1,0) and paint both
+ variants at once (double logo), so drive the variants directly. */
+ .left-nav.collapsed .sidebar-logo-lockup--light {
+ display: block;
+ }
+
+ :root[data-theme='dark'] .left-nav.collapsed .sidebar-logo-lockup--light {
+ display: none;
+ }
+
+ :root[data-theme='dark'] .left-nav.collapsed .sidebar-logo-lockup--dark {
display: block;
}