Fix bug where customCss was filling html + some UX stabilization
This commit is contained in:
parent
6d85cb134c
commit
d9420fffca
|
@ -367,6 +367,7 @@ function calcCustomCss() {
|
||||||
var dom = document.getElementById('custom-css');
|
var dom = document.getElementById('custom-css');
|
||||||
if (dom === null) {
|
if (dom === null) {
|
||||||
dom = document.createElement('style');
|
dom = document.createElement('style');
|
||||||
|
dom.id = 'custom-css';
|
||||||
document.body.appendChild(dom);
|
document.body.appendChild(dom);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="card-item item button noback dark rounder" data-id="{._id}"
|
<div class="card-item item button noback dark" data-id="{._id}"
|
||||||
onclick="app.pages.home.loadQuiz('{.id}')"
|
onclick="app.pages.home.loadQuiz('{.id}')"
|
||||||
onEnter="app.pages.home.loadQuiz('{.id}')"
|
onEnter="app.pages.home.loadQuiz('{.id}')"
|
||||||
tabindex="0">
|
tabindex="0">
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<div class="type-options">
|
<div class="type-options">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
{loop:options}
|
{loop:options}
|
||||||
<label class="card-item button noback rounder flex">
|
<label class="card-item button noback flex">
|
||||||
<div class="center">
|
<div class="center">
|
||||||
<input type="radio" name="question_{.index}"
|
<input type="radio" name="question_{.index}"
|
||||||
value="{.item}">
|
value="{.item}">
|
||||||
|
|
Loading…
Reference in New Issue