even better preview!

This commit is contained in:
2025-06-01 12:46:06 +02:00
parent 3a768146c1
commit 2800da1859
2 changed files with 11 additions and 2 deletions

View File

@@ -116,7 +116,7 @@ export class FilePreview {
const encodedUrl = encodeURIComponent(file.url);
contentDiv.innerHTML = `
<iframe src="https://view.officeapps.live.com/op/embed.aspx?src=${encodedUrl}"
width="100%" height="70vh" frameborder="0"></iframe>
width="100%" height="600px" frameborder="0"></iframe>
`;
} else {
// Default preview for other file types