changed table formatting for cards view