fix various layout problems in compound list/card

mainly borders in tables, and alignments
6 jobs for master in 18 minutes and 11 seconds (queued for 25 seconds)