Refactors style for dashboard