Skip to content

Commit

Permalink
Wrap long content in the table
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmildner committed Oct 12, 2023
1 parent 1a2c2bc commit ce6c40f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Resources/AuthorResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ public static function table(Table $table): Table
Tables\Columns\TextColumn::make('name')
->label(__('filament-blog::filament-blog.name'))
->searchable()
->wrap()
->sortable(),
Tables\Columns\TextColumn::make('email')
->label(__('filament-blog::filament-blog.email'))
Expand Down
2 changes: 2 additions & 0 deletions src/Resources/CategoryResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,11 @@ public static function table(Table $table): Table
Tables\Columns\TextColumn::make('name')
->label(__('filament-blog::filament-blog.name'))
->searchable()
->wrap()
->sortable(),
Tables\Columns\TextColumn::make('slug')
->label(__('filament-blog::filament-blog.slug'))
->wrap()
->searchable()
->sortable(),
Tables\Columns\IconColumn::make('is_visible')
Expand Down
1 change: 1 addition & 0 deletions src/Resources/PostResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ public static function table(Table $table): Table
Tables\Columns\TextColumn::make('title')
->label(__('filament-blog::filament-blog.title'))
->searchable()
->wrap()
->sortable(),
Tables\Columns\TextColumn::make('author.name')
->label(__('filament-blog::filament-blog.author_name'))
Expand Down

0 comments on commit ce6c40f

Please sign in to comment.