fixes #18940: use specific border properties when changing the corners of list groups in cards to avoid overriding combo first-/last-child items