Files
cameleer-server/ui/src/pages/DashboardTab/DashboardTab.module.css
hsiegeln eadcd160a3 fix: improve duration formatting (Xm Ys) and truncate exchange IDs
- formatDuration and formatDurationShort now show Xm Ys for durations >= 60s (e.g. "5m 21s" instead of "321s") and 1 decimal for 1-60s range ("6.7s" instead of "6.70s")
- Exchange ID column shows last 8 chars with ellipsis prefix; full ID on hover, copies to clipboard on click

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 18:34:04 +02:00

89 lines
1.5 KiB
CSS

.content {
display: flex;
flex-direction: column;
gap: 20px;
flex: 1;
min-height: 0;
overflow-y: auto;
padding: 0 24px 20px;
}
/* Charts */
.chartGrid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}
.chartRow {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 16px;
}
.appNameCell {
display: flex;
align-items: center;
gap: 8px;
font-size: 12px;
font-weight: 500;
color: var(--text-primary);
font-family: var(--font-mono);
cursor: pointer;
}
.appNameCell:hover {
text-decoration: underline;
}
/* Diagram container — height override; card styling via tableStyles.tableSection */
.diagramHeight {
height: 280px;
}
/* Chart fill */
.chart {
width: 100%;
}
/* Visualization row: treemap left (wider) + punchcards right (stacked) */
.vizRow {
display: grid;
grid-template-columns: 3fr 2fr;
gap: 16px;
}
/* Toggle button row */
.toggleRow {
display: flex;
gap: 2px;
padding: 0 12px 4px;
}
.toggleBtn {
padding: 3px 10px;
font-size: 12px;
font-family: var(--font-mono);
color: var(--text-muted);
background: transparent;
border: 1px solid var(--border-subtle);
border-radius: var(--radius-sm);
cursor: pointer;
transition: all 0.15s;
}
.toggleBtn:hover {
color: var(--text-primary);
border-color: var(--border);
}
.toggleActive {
color: var(--text-primary);
background: var(--bg-inset);
border-color: var(--border);
font-weight: 600;
}
/* errorsSection removed — use tableStyles.tableSection instead */