modified edit css and some minor changes