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:
parent
1a55bd7748
commit
75ecbba71d
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user