Resizing the viewer for draw.io diagrams can only be done in the editor, currently. In the menu under Extras->Viewer->Zoom you can change the percentage zoom relative to the natural diagram dimensions.