gui: the chart label comment sits over the rule it explains — #149 moved the last label's rule to every chart and left its comment above .sess-list
This commit is contained in:
@@ -462,6 +462,7 @@ body.window .field.solo { grid-column: auto; }
|
||||
.chart .bar i.in { opacity: .38; }
|
||||
.chart .labels { display: flex; gap: 3px; margin-top: 5px; font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
|
||||
.chart .labels span { flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: visible; }
|
||||
/* the last label can be wider than its bar's column: let it spill left, not off the card */
|
||||
.chart .labels span:last-child { display: flex; justify-content: flex-end; }
|
||||
.row.stat .who { flex: 0 0 180px; }
|
||||
.row.stat .share { flex: 1 1 auto; height: 4px; border-radius: 2px; background: var(--pill); overflow: hidden; margin: 0 6px; }
|
||||
@@ -494,7 +495,6 @@ body.window .field.solo { grid-column: auto; }
|
||||
.sess-chart-head .segs { align-self: center; }
|
||||
.sess-chart-head .segs .opt { height: 20px; padding: 0 9px; font-size: 11px; }
|
||||
.chart .sess-chart-head .peak { margin: 0; align-self: flex-end; }
|
||||
/* the last day's label is wider than its bar at 90 days: let it spill left, not off the card */
|
||||
.sess-list { margin-top: 8px; }
|
||||
.sess-sk { flex-direction: column; align-items: stretch; justify-content: center; gap: 7px; min-height: 48px; }
|
||||
.sess-item + .sess-item { border-top: 1px solid var(--line-2); }
|
||||
|
||||
Reference in New Issue
Block a user