How to Put Two Linked Cards Without a Space Between Them

How to Put Two Linked Cards Without a Space Between Them

Is there a way to put two linked cards directly next to each other without adding a space between them? When I remove the space, the cards seem to break or display incorrectly, as shown in the image below. How can I fix this?