Merged in ray-develop (pull request #16)

Ray develop

* fix view and public mode, initial scale and body size

* Merged develop into ray-develop
* root container size now is defined with css

* Merge branch 'ray-develop' of bitbucket.org:wisemapping/wisemapping-open-source into ray-develop


Approved-by: Paulo Veiga
This commit is contained in:
Gustavo Fuhr 2022-07-09 01:35:06 +00:00 committed by Paulo Veiga
parent a49b870f03
commit 8554fb7507
2 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@
<body> <body>
<noscript>You need to enable JavaScript to run this app.</noscript> <noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div> <div id="root" class="mindplot-root"></div>
<script type="text/javascript" src="${requestScope['site.static.js.url']}/webapp/vendors.bundle.js" crossorigin="anonymous"></script> <script type="text/javascript" src="${requestScope['site.static.js.url']}/webapp/vendors.bundle.js" crossorigin="anonymous"></script>
<script type="text/javascript" src="${requestScope['site.static.js.url']}/webapp/app.bundle.js" crossorigin="anonymous"></script> <script type="text/javascript" src="${requestScope['site.static.js.url']}/webapp/app.bundle.js" crossorigin="anonymous"></script>

View File

@ -43,7 +43,7 @@
margin: 0px; margin: 0px;
} }
#root { .mindplot-root {
height: 100%; height: 100%;
width: 100%; width: 100%;
} }
@ -52,7 +52,7 @@
</head> </head>
<body> <body>
<div id="root"> <div id="root" class="mindplot-root">
<div id="mindplot" style={mindplotStyle} className="wise-editor"></div> <div id="mindplot" style={mindplotStyle} className="wise-editor"></div>
<div id="mindplot-tooltips" className="wise-editor"></div> <div id="mindplot-tooltips" className="wise-editor"></div>