Commit dbbd7c2af9331fdb684f40f07f4cb683c70e1adb

Authored by Miguel Barão
1 parent 1d26fac2
Exists in master and in 1 other branch dev

changed checkbox and radio templates to try to fix an annoying jump.

perguntations/templates/question-checkbox.html
... ... @@ -11,7 +11,7 @@
11 11 <input type="checkbox" id="{{i}}:{{n}}" name="{{i}}" value="{{n}}">
12 12 </div>
13 13 <div class="p-2">
14   - <label for="{{n}}">{{ md(opt) }}</label>
  14 + <label for="{{i}}:{{n}}">{{ md(opt) }}</label>
15 15 </div>
16 16 </div>
17 17 </a>
... ...
perguntations/templates/question-radio.html
... ... @@ -7,11 +7,11 @@
7 7 {% for n, opt in enumerate(q['options']) %}
8 8 <a class="list-group-item">
9 9 <div class="d-flex flex-row">
10   - <div class="p-1">
  10 + <div class="p-2">
11 11 <input type="radio" id="{{i}}:{{n}}" name="{{i}}" value="{{n}}">
12 12 </div>
13   - <div class="p-1">
14   - <label for="{{n}}">{{ md(opt) }}</label>
  13 + <div class="p-2">
  14 + <label for="{{i}}:{{n}}">{{ md(opt) }}</label>
15 15 </div>
16 16 </div>
17 17 </a>
... ...