Skip to content

The agent that grows with you

fix: opaque fallback for mobile header/sidebar background

Ivan Marynychff97415c9171
diff --git a/web/src/App.tsx b/web/src/App.tsx
index bb79cb6a6a4..d0d50b697d9 100644
--- a/web/src/App.tsx
+++ b/web/src/App.tsx
@@ -532,7 +532,8 @@ export default function App() {
"bg-background-base",
)}
style={{
- background: "var(--component-header-background)",
+ background:
+ "var(--component-header-background, var(--background-base))",
borderImage: "var(--component-header-border-image)",
clipPath: "var(--component-header-clip-path)",
}}
@@ -591,7 +592,8 @@ export default function App() {
collapsed && "lg:w-14",
)}
style={{
- background: "var(--component-sidebar-background)",
+ background:
+ "var(--component-sidebar-background, var(--background-base))",
clipPath: "var(--component-sidebar-clip-path)",
borderImage: "var(--component-sidebar-border-image)",
}}