Work in progress for improving examples

This commit is contained in:
Paulo Gustavo Veiga 2021-12-24 17:53:43 -08:00
parent 87115cda37
commit 9678a2cd06
7 changed files with 58 additions and 5 deletions

View File

@ -0,0 +1,23 @@
@import "editor.less";
/* Overwrite some styles */
body{
position: inherit;
}
div#footer {
width: 100%;
height: 100px;
position: absolute;
bottom: 0;
background-color:chocolate;
}
div#footer {
width: 100%;
padding: 20px 50px;
height: 100px;
position: absolute;
bottom: 0;
background-color:#ffa800;
}

View File

@ -1,3 +0,0 @@
@header-height : 75px;
@header-toolbar-height : 35px;
@header-info-height : @header-height - @header-toolbar-height;

View File

@ -10,6 +10,19 @@
<body>
<div id="mindplot" onselectstart="return false;"></div>
<div id="footer">
<div>
The following example showcase rendering of mindmaps in read-only.
</div>
<div>
Select Map to Render: <select>
<option>welcome</option>
<option>huge</option>
</select>
</div>
</div>
</body>
</html>

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 14 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -1,4 +1,4 @@
import '../css/embedded.less';
import '../css/viewmode.less';
import { buildDesigner, buildOptions } from '../../../../src/components/DesignerBuilder';
import { PersistenceManager, LocalStorageManager } from '../../../../src';

View File

@ -42,7 +42,6 @@ const playgroundConfig = {
{ from: 'test/playground/index.html', to: 'index.html' },
{ from: 'test/playground/map-render/html/container.json', to: 'html/container.json' },
{ from: 'test/playground/map-render/html/container.html', to: 'container.html' },
{ from: 'test/playground/map-render/css/widget', to: 'css/widget' },
],
}),
new HtmlWebpackPlugin({