limited the size of the card title to one line only to fix the card height