mirror of
https://github.com/smittix/intercept.git
synced 2026-05-29 20:39:26 -07:00
fix: Hide output panel in analytics mode to prevent overlay
Analytics is a sidebar-only mode with no visuals container, so the output panel was rendering on top of the analytics content. Add analytics-active class to expand the sidebar full-width and hide the output panel when in analytics mode. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,25 @@
|
|||||||
/* Analytics Dashboard Styles */
|
/* Analytics Dashboard Styles */
|
||||||
|
|
||||||
|
/* Analytics is a sidebar-only mode — hide the output panel and expand the sidebar */
|
||||||
|
@media (min-width: 1024px) {
|
||||||
|
.main-content.analytics-active {
|
||||||
|
grid-template-columns: 1fr !important;
|
||||||
|
}
|
||||||
|
.main-content.analytics-active > .output-panel {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
.main-content.analytics-active > .sidebar {
|
||||||
|
max-width: 100% !important;
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1023px) {
|
||||||
|
.main-content.analytics-active > .output-panel {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.analytics-grid {
|
.analytics-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
||||||
|
|||||||
@@ -3818,6 +3818,8 @@
|
|||||||
} else {
|
} else {
|
||||||
mainContent.classList.remove('mesh-sidebar-hidden');
|
mainContent.classList.remove('mesh-sidebar-hidden');
|
||||||
}
|
}
|
||||||
|
// Analytics is sidebar-only — hide output panel and expand sidebar
|
||||||
|
mainContent.classList.toggle('analytics-active', mode === 'analytics');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Show/hide mode-specific timeline containers
|
// Show/hide mode-specific timeline containers
|
||||||
|
|||||||
Reference in New Issue
Block a user