fix: Button-Style-Selector in Anhänge-Spalte beschränken
All checks were successful
Deploy bericht / deploy (push) Successful in 1s

Vorheriger Fix '.bericht-attachments button { width:100% }' hat auch
die kleinen Icons in den Anhang-Items (Mülleimer zum Löschen, Buttons
in Listen-Items) erwischt und auf volle Breite gepumpt. Dadurch wurde
der Dateiname nicht mehr sichtbar.

Fix: Selector auf .bericht-add-selected + .bericht-upload beschränken
(die beiden Action-Blöcke am Ende der Spalte). Die Item-Buttons
innerhalb der Liste behalten ihr Default-Styling.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
[deploy]
This commit is contained in:
Eduard Wisch 2026-04-09 14:38:16 +02:00
parent c98fcc829c
commit 9e96063bbc

View file

@ -31,11 +31,11 @@
} }
.bericht-attachments *, .bericht-pages * { box-sizing: border-box; } .bericht-attachments *, .bericht-pages * { box-sizing: border-box; }
/* Alle Buttons in der Anhänge-Spalte einheitlich volle Breite */ /* Nur die Haupt-Actions unten in der Anhänge-Spalte einheitlich breit */
.bericht-attachments .butAction, .bericht-add-selected select,
.bericht-attachments button, .bericht-add-selected .butAction,
.bericht-attachments select, .bericht-upload .butAction,
.bericht-attachments label.butAction { .bericht-upload label.butAction {
display: block; display: block;
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
@ -52,8 +52,8 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.bericht-attachments .butAction:hover, .bericht-add-selected .butAction:hover,
.bericht-attachments button:hover { background: var(--colorbackhmenu1, #337ab7); color: #fff; } .bericht-upload .butAction:hover { background: var(--colorbackhmenu1, #337ab7); color: #fff; }
.bericht-attachments h4, .bericht-attachments h4,
.bericht-pages h4 { .bericht-pages h4 {
margin: 0 0 8px 0; margin: 0 0 8px 0;