You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -215,38 +216,20 @@ class Viewport extends BaseViewport {
215
216
}]
216
217
}]
217
218
},{
218
-
ntype: 'label',
219
-
html : [
219
+
module: BoxLabel,
220
+
html: [
220
221
'<b>Navigation Concept</b>',
221
222
'<p>You can use the Arrow Keys to walk through the items.</p>'
222
-
].join(''),
223
-
224
-
style: {
225
-
backgroundColor: '#323232',
226
-
color : '#ddd',
227
-
fontSize : '13px',
228
-
margin : '10px',
229
-
padding : '10px',
230
-
whiteSpace : 'normal'
231
-
}
223
+
].join('')
232
224
},{
233
-
ntype: 'label',
234
-
cls : ['neo-link-color'],
235
-
html : [
225
+
module: BoxLabel,
226
+
cls: ['neo-link-color'],
227
+
html: [
236
228
'<b>Attribution</b>',
237
229
'<p>App created with <a href="https://github.com/neomjs/neo">neo.mjs</a>.</p>',
238
230
'<p>Data provided by <a href="https://github.com/disease-sh/API">disease-sh/API</a>.</p>',
239
231
'<p>Country Flag Icons made by <a href="https://www.flaticon.com/authors/freepik" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon"> www.flaticon.com</a>.</p>'
@@ -364,40 +365,22 @@ class MainContainer extends Viewport {
364
365
}
365
366
}
366
367
},{
367
-
ntype: 'label',
368
-
text : [
368
+
module: BoxLabel,
369
+
html : [
369
370
'<b>Navigation Concept</b>',
370
371
'<p>Click on an item to select it. Afterwards you can use the Arrow Keys to walk through the items.</p>',
371
372
'<p>Hit the Space Key to rotate the currently selected item to the front.</p>',
372
373
'<p>Hit the Enter Key to expand the currently selected item.</p>'
373
-
].join(''),
374
-
375
-
style: {
376
-
backgroundColor: '#323232',
377
-
color : '#ddd',
378
-
fontSize : '13px',
379
-
margin : '10px',
380
-
padding : '10px',
381
-
whiteSpace : 'normal'
382
-
}
374
+
].join('')
383
375
},{
384
-
ntype: 'label',
385
-
cls : ['neo-link-color'],
386
-
text : [
376
+
module: BoxLabel,
377
+
cls: ['neo-link-color'],
378
+
html : [
387
379
'<b>Attribution</b>',
388
380
'<p>App created with <a href="https://github.com/neomjs/neo">neo.mjs</a>.</p>',
389
381
'<p>Data provided by <a href="https://github.com/disease-sh/API">disease.sh/API</a>.</p>',
390
382
'<p>Icons made by <a href="https://www.flaticon.com/authors/freepik" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon"> www.flaticon.com</a>.</p>'
0 commit comments