Fix css when the cards are tapped