Fix detail layout