fixed css style to match card require