Keep view mode across tabs and speed up recommendation pipeline
This commit is contained in:
@@ -182,6 +182,46 @@
|
||||
display: block;
|
||||
}
|
||||
|
||||
body[data-view-mode="dual"] .dashboard-layout {
|
||||
grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
|
||||
gap: 12px;
|
||||
min-height: calc(100vh - 150px);
|
||||
}
|
||||
|
||||
body[data-view-mode="dual"] .dashboard-status-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
body[data-view-mode="dual"] .dashboard-status-grid .stat-card {
|
||||
min-height: 64px;
|
||||
padding: 10px 11px;
|
||||
}
|
||||
|
||||
body[data-view-mode="dual"] .dashboard-status-grid .stat-card .value {
|
||||
font-size: clamp(16px, 1.15vw, 24px);
|
||||
}
|
||||
|
||||
body[data-view-mode="dual"] .dashboard-chart-stack {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
grid-template-rows: minmax(0, 1fr);
|
||||
gap: 12px;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
body[data-view-mode="dual"] .chart-panel {
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
body[data-view-mode="dual"] .chart-shell {
|
||||
padding: 10px 12px 12px;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
body[data-view-mode="dual"] .chart-svg {
|
||||
min-height: 320px;
|
||||
}
|
||||
|
||||
@media (max-width: 1200px) {
|
||||
.dashboard-layout {
|
||||
grid-template-columns: 1fr;
|
||||
|
||||
Reference in New Issue
Block a user