Lasse die Stammdatentabelle bei schmaleren Fenstern umbrechen statt scrollen
CI Feature / test (push) Successful in 1m13s
Deploy Test / test (push) Successful in 1m9s
Deploy Test / deploy (push) Successful in 22s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Opus 5.5 committed 2026-11-20 21:29:47 +01:00
1 parent f774d43647
commit 70695db290
1 file changed
+4 -1
@@ -168,6 +168,7 @@ public function table(Table $table): Table
->label('Bezeichnung')
->searchable(['label', 'slug'])
->weight('semibold')
->wrap()
->description(fn (Model $record): string => 'Kennung: '.$record->slug
.($record instanceof EditorialContentKind && $record->isSystem() ? ' · vom System verwendet' : '')),
$materialart ? TextColumn::make('contexts')
@@ -177,7 +178,8 @@ public function table(Table $table): Table
(array) ($record->contexts ?? []),
)))
->badge()
->color('gray') : null,
->color('gray')
->wrap() : null,
TextColumn::make('is_active')
->label('Status')
->formatStateUsing(fn (bool $state): string => $state ? 'Aktiv' : 'Inaktiv')
@@ -186,6 +188,7 @@ public function table(Table $table): Table
TextColumn::make('verwendung')
->label('Verwendung')
->state(fn (Model $record): string => $this->verwendungText($record))
->wrap()
->action($this->verwendungAction()->name('verwendungZeigen')),
])))
->filters([