Improved formatting of the detail view