Skip to content

Commit

Permalink
change badge to be compatible with all themes
Browse files Browse the repository at this point in the history
  • Loading branch information
pxpm committed Aug 30, 2024
1 parent 5784196 commit 5ee8ccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/TranslationManagerCrudController.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected function setupListOperation(): void
'label' => ucfirst(__('backpack.translation-manager::translation_manager.key')),
'type' => 'custom_html',
'value' => function (TranslationLine $entry): string {
return '<span class="badge" title="'.$entry->group_key.'">'.Str::limit($entry->group_key, 50).'</span>';
return '<span class="badge text-bg-secondary badge-primary" title="'.$entry->group_key.'">'.Str::limit($entry->group_key, 50).'</span>';
},
'orderable' => true,
'orderLogic' => function (Builder $query, mixed $column, mixed $columnDirection): Builder {
Expand Down

0 comments on commit 5ee8ccf

Please sign in to comment.