mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-30 11:56:18 -05:00
Modifying height of iframes for Map/Zim viewers to show full page of iframe.
This commit is contained in:
parent
ed1ed94beb
commit
62c4afce0b
4 changed files with 37 additions and 19 deletions
|
|
@ -4,6 +4,7 @@ import {
|
|||
ErrorMessage,
|
||||
HelpPopup,
|
||||
humanFileSize,
|
||||
IframeViewer,
|
||||
InfoMessage,
|
||||
PageContainer,
|
||||
TabLinks,
|
||||
|
|
@ -281,15 +282,7 @@ class ManageMap extends React.Component {
|
|||
}
|
||||
|
||||
function MapPage() {
|
||||
return <iframe
|
||||
title='map'
|
||||
src={`http://${window.location.hostname}:8084/`}
|
||||
style={{
|
||||
position: 'fixed',
|
||||
height: '100%',
|
||||
width: '100%',
|
||||
border: 'none',
|
||||
}}/>
|
||||
return <IframeViewer title='map' viewerUrl={`http://${window.location.hostname}:8084/`}/>
|
||||
}
|
||||
|
||||
export function MapRoute() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue