Trying to edit spirit theme and cant

Hi, I cant edit my theme, when I click edit I just get a preview of the site which I cant do any thing with