From 70695db29084956ef8af9332344729153abd7b26 Mon Sep 17 00:00:00 2001 From: Lars Date: Fri, 20 Nov 2026 21:29:47 +0100 Subject: [PATCH] Lasse die Stammdatentabelle bei schmaleren Fenstern umbrechen statt scrollen Co-Authored-By: Claude Opus 5.5 --- app/Filament/Pages/RedaktionelleStammdaten.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Filament/Pages/RedaktionelleStammdaten.php b/app/Filament/Pages/RedaktionelleStammdaten.php index 7c17949..443227a 100644 --- a/app/Filament/Pages/RedaktionelleStammdaten.php +++ b/app/Filament/Pages/RedaktionelleStammdaten.php @@ -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([