From 9e96063bbc283357c31c92c15c18127129afc636 Mon Sep 17 00:00:00 2001 From: Eduard Wisch Date: Thu, 9 Apr 2026 14:38:16 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20Button-Style-Selector=20in=20Anh=C3=A4ng?= =?UTF-8?q?e-Spalte=20beschr=C3=A4nken?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) [deploy] --- css/bericht.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/css/bericht.css b/css/bericht.css index 0e5f392..c802313 100644 --- a/css/bericht.css +++ b/css/bericht.css @@ -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;