Added environment property for viewer. Modified css so it works for both the editor and viewer.