diff --git a/src/app/globals.css b/src/app/globals.css index 489a58688f4..4df43dff070 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -496,3 +496,15 @@ select option { .react-flow__controls-button svg { fill: var(--color-text-main); } + +/* Desktop sidebar visibility must not depend on Tailwind's hidden/lg:flex cascade + (ordering/specificity can collapse it). Explicit class + 1024px media query. */ +.dashboard-sidebar-desktop { + display: none; + min-height: 0; +} +@media (min-width: 1024px) { + .dashboard-sidebar-desktop { + display: flex; + } +} diff --git a/src/shared/components/layouts/DashboardLayout.tsx b/src/shared/components/layouts/DashboardLayout.tsx index 0a0a3fa866e..f72841a6e7c 100644 --- a/src/shared/components/layouts/DashboardLayout.tsx +++ b/src/shared/components/layouts/DashboardLayout.tsx @@ -73,8 +73,8 @@ export default function DashboardLayout({ children }) { /> )} - {/* Sidebar - Desktop */} -
+ {/* Sidebar - Desktop: keep visibility independent from Tailwind hidden/lg:flex ordering. */} +