#Is there an easy way to center the text inside a StatsOverviewWidget?
4 messages · Page 1 of 1 (latest)
4 messages · Page 1 of 1 (latest)
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?
Once again, I found my way!
Stat::make("Stat name", 999)->extraAttributes(['class' => 'text-center'])
Exactly the right way 🙂