[DE SSE mobile] Fix Bug 59914
This commit is contained in:
parent
dac85d6d0e
commit
0ceacd4e04
|
@ -10,11 +10,15 @@ const SharingSettings = props => {
|
|||
const sharingSettingsUrl = storeAppOptions.sharingSettingsUrl;
|
||||
const _t = t('Common.Collaboration', {returnObjects: true});
|
||||
|
||||
function resizeHeightIframe(iFrame) {
|
||||
iFrame.height = iFrame.contentWindow.document.body.scrollHeight;
|
||||
}
|
||||
|
||||
return (
|
||||
<Page>
|
||||
<Navbar title={t('Common.Collaboration.textSharingSettings')} backLink={_t.textBack} />
|
||||
<div id="sharing-placeholder" className="sharing-placeholder">
|
||||
<iframe width="100%" height="100%" frameBorder={0} scrolling="0" align="top" src={sharingSettingsUrl}></iframe>
|
||||
<iframe width="100%" frameBorder={0} scrolling="0" align="top" src={sharingSettingsUrl} onLoad={resizeHeightIframe(this)}></iframe>
|
||||
</div>
|
||||
</Page>
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue