7f533a889b
- Removed unnecessary fullscreen event listeners and streamlined the fullscreen toggle logic in the document preview component. - Updated the CSS for fullscreen mode to enhance layout and responsiveness for various document types, including images and presentations. - Adjusted the structure of the preview container to eliminate reliance on a ref, improving code clarity and maintainability. These changes enhance the user experience by providing a more intuitive fullscreen functionality and better visual presentation of documents.