Now popup-card won't be cut off if too long