Adjusted css and fixed refactored editing