fixed card underline bug in safari