Kontrolle: Projektname in der Projektliste behält overflow-wrap anywhere
Mit break-word weitete ein langer Projektname ohne Umbruchstelle die Seite auf (Handy 390 px); nur Beträge und Nebenzeilen wechseln zu break-word und nowrap. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8faf61e8bb
commit
d01a804cea
1 file changed
+2
-1
@@ -3,7 +3,8 @@
|
||||
.pk { container-type: inline-size; }
|
||||
.pk .pk-hinweis { margin: 0 0 8px; }
|
||||
.pk .pk-table th, .pk .pk-table td { vertical-align: top; }
|
||||
.pk .pk-name, .pk .pk-table td .cell-sub { overflow-wrap: break-word; }
|
||||
.pk .pk-name { overflow-wrap: anywhere; } /* lange Projektnamen ohne Umbruchstelle dürfen die Spalte nie aufweiten */
|
||||
.pk .pk-table td .cell-sub { overflow-wrap: break-word; }
|
||||
/* Beträge und Stunden brechen nie um: das € bleibt am Betrag */
|
||||
.pk .pk-table .num, .pk .pk-berechnet .cell-sub, .pk .pk-zeit .cell-sub { white-space: nowrap; }
|
||||
.pk .pk-table .num { font-variant-numeric: tabular-nums; }
|
||||
|
||||
Reference in new issue
Block a user