feature #1664: CSS fixes