Added layout to cards.