feat: Dashboard – Donut ohne Überlauf, Achse lesbar, Karten-Optionen

- Budget-Donut: Mittelbetrag passt sich der Länge an (kein Hineinlaufen in den
  Ring bei 4-stelligen Beträgen)
- Vermögensverlauf: Y-Achse ohne Währungssymbol (formatAmount) + etwas mehr
  linker Rand → „CHF …" wird nicht mehr abgeschnitten
- Karten-Optionen: im Anordnen-Modus je Karte einstellbar; Budget-Donut und
  Budget-Fortschritt können nach Gruppen ODER Kategorien aufschlüsseln
  (?group_by=), Auswahl wird im Layout (props) mitgespeichert

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Guido
2026-08-20 16:58:32 +02:00
co-authored by Claude Opus 4.8
parent d1cab19264
commit 8d0fbdfe2b
9 changed files with 148 additions and 41 deletions
+26
View File
@@ -420,6 +420,32 @@ tr.budget-total-row td {
background: var(--surface-2);
}
/* Karten-Optionen im Anordnen-Modus (z. B. Gruppen vs. Kategorien). */
.dash-config-bar {
display: flex;
flex-wrap: wrap;
gap: var(--sp-3);
padding-bottom: var(--sp-2);
margin-bottom: var(--sp-2);
border-bottom: 1px solid var(--border);
}
.dash-config-opt {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 4px;
min-width: 0;
flex: 1 1 140px;
}
.seg.sm {
margin-bottom: 0;
width: 100%;
}
.seg.sm .seg-btn {
padding: 4px 9px;
font-size: 0.78rem;
}
.dash-grid {
position: relative;
}