fix(doc-full-view): Hintergrundfarbe für nicht unterstützte Formate festlegen (Fallback)

Es wurde ein hellgrauer Hintergrund zum Modal hinzugefügt, wenn nicht unterstützte Dateiformate dargestellt werden, um die visuelle Klarheit und die Benutzererfahrung zu verbessern.
This commit is contained in:
tekh 2025-07-14 11:11:02 +02:00
parent 1a55bd7748
commit 75ecbba71d

View File

@ -83,6 +83,7 @@ export default function DocFullView({ data, format, open, handleClose }: DocFull
}
// Download link for unsupported preview formats
style.bgcolor = 'lightgray'
return (
<Box textAlign="center">
<p>This file type cannot be displayed. You can download it below:</p>