You can drag the corners of the window to resize it or click the Full Screen button in the top-left corner of the Quick Look window. To exit full screen, move the pointer to the bottom of the window, then click the Exit Full Screen button that appears.