Is there an easy way to center the text inside a StatsOverviewWidget?

Hi there! I'm just looking to improve a dashboard appearance and would like to center the text of some of the StatsOverviewWidget. Does it exists an easy way to add a class to the Stat content or so?
Solution:
Once again, I found my way!
Stat::make("Stat name", 999)->extraAttributes(['class' => 'text-center'])
Stat::make("Stat name", 999)->extraAttributes(['class' => 'text-center'])
...
Jump to solution
2 Replies
Solution
Romain 'Maz' B.
Once again, I found my way!
Stat::make("Stat name", 999)->extraAttributes(['class' => 'text-center'])
Stat::make("Stat name", 999)->extraAttributes(['class' => 'text-center'])
toeknee
toeknee2w ago
Exactly the right way 🙂

Did you find this page helpful?