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