Fix card content overflow error