Resizing the viewer for draw.io diagrams can only be done in the editor, currently. You can change the percentage zoom relative to the natural diagram dimensions in the Formal panel > Zoom (when nothing is selected).