fix: Ankreuzfelder zentral von der Textfeld-Regel ausnehmen

In der Passwortrichtlinie stand das Haekchen mittig und der Text ganz rechts.
Ursache war die globale Regel "input, select { width: 100% }": sie erwischt
auch Ankreuzfelder und zieht sie ueber die volle Breite. Vier Stellen im
Code umgingen das bereits einzeln (.checklist, .dt-pop-opt, .checkline,
.datatable td) - eine fuenfte Umgehung waere die falsche Antwort gewesen.

Ankreuz- und Auswahlfelder sind jetzt zentral ausgenommen, die vier
Einzelfaelle entfallen. Nebeneffekt: sie tragen ueberall dieselbe
Akzentfarbe (bisher nur an zwei Stellen) und sitzen in Tabellenzellen
mittig, statt durch das geerbte margin-top um 5px nach unten gedrueckt zu
werden.

Die Karte selbst nutzt jetzt .checkline, das vorhandene Muster fuer
"Ankreuzfeld plus Text"; .field-inline richtet an der Grundlinie aus und
war hier von vornherein das falsche.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Scarriffle
2026-08-20 14:10:56 +02:00
co-authored by Claude Opus 5
parent cdf21474cf
commit df5bfec331
3 changed files with 14 additions and 11 deletions
-5
View File
@@ -379,10 +379,6 @@ tr.budget-total-row td {
gap: var(--sp-2);
margin-bottom: var(--sp-2);
}
.checkline input[type="checkbox"] {
width: auto;
margin-top: 0;
}
.checkline span {
color: var(--text);
font-weight: 560;
@@ -590,7 +586,6 @@ tr.row-dup {
.datatable td input[inputmode],
.datatable td input[type="text"] { max-width: none; width: 100%; }
.datatable td .catsel { width: 100%; }
.datatable td input[type="checkbox"] { width: auto; }
/* ---------- Kategorie-Auswahl (auf-/zuklappbarer Baum, Ersatz für <select>) ---------- */
.catsel {