Fixes template and css for details