Skip to content

Commit

Permalink
[REF] badge columns centered
Browse files Browse the repository at this point in the history
  • Loading branch information
n3o77 committed Sep 30, 2023
1 parent 80572c6 commit 5c138a6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ColumnType/BadgeColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ public function configureOptions(OptionsResolver $resolver): void
{
parent::configureOptions($resolver);

$resolver->setDefaults(['classPrefix' => null]);
$resolver->setDefaults([
'classPrefix' => null,
'attr' => ['class' => 'text-center'],
]);
$resolver->setAllowedTypes('classPrefix', ['null', 'string']);
}
}

0 comments on commit 5c138a6

Please sign in to comment.