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

4 messages · Page 1 of 1 (latest)

glad jasper
#

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?

azure oysterBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

glad jasper
#

Once again, I found my way!

Stat::make("Stat name", 999)->extraAttributes(['class' => 'text-center'])
jaunty tartan
#

Exactly the right way 🙂