fix the css for type constraints