responsive design for the editor