nit: use a css class instead of modifying style