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,15 +132,17 @@ 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> <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>
) : ( ) : (
<DocumentEditor <div className="absolute inset-0">
id="docxEditor" <DocumentEditor
documentServerUrl={docServerUrl} id="docxEditor"
config={config} documentServerUrl={docServerUrl}
events_onDocumentReady={onDocumentReady} config={config}
onLoadComponentError={onLoadComponentError} events_onDocumentReady={onDocumentReady}
height="100%" onLoadComponentError={onLoadComponentError}
width="100%" height="100%"
/> width="100%"
/>
</div>
)} )}
</div> </div>
</div> </div>