Fix absolute wrapper for DocumentEditor
All checks were successful
Automated Container Build / build-and-push (push) Successful in 37s

This commit is contained in:
Elijah 2026-05-24 11:58:49 -07:00
parent 121bbf4b52
commit 82a19442d7

View file

@ -132,6 +132,7 @@ export default function OnlyOfficeEditor({ file, type, onClose }: OnlyOfficeEdit
<p className="mt-4 text-xs text-gray-500">Check if your OnlyOffice server is running and accessible at the configured URL.</p>
</div>
) : (
<div className="absolute inset-0">
<DocumentEditor
id="docxEditor"
documentServerUrl={docServerUrl}
@ -141,6 +142,7 @@ export default function OnlyOfficeEditor({ file, type, onClose }: OnlyOfficeEdit
height="100%"
width="100%"
/>
</div>
)}
</div>
</div>