updated css for text type