Fix bug where customCss was filling html + some UX stabilization

This commit is contained in:
Niko 2022-02-26 00:45:15 +01:00
parent 6d85cb134c
commit d9420fffca
3 changed files with 3 additions and 2 deletions

View File

@ -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);
} }

View File

@ -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">

View File

@ -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}">