Hide question description when correcting to gain screen space
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1e332942fc
commit
cee08fdb94
2 changed files with 9 additions and 1 deletions
|
|
@ -10,6 +10,7 @@
|
|||
export let question = null;
|
||||
export let qid = null;
|
||||
export let edit = false;
|
||||
export let nodescription = false;
|
||||
</script>
|
||||
|
||||
<div class="card-header {className}">
|
||||
|
|
@ -43,7 +44,7 @@
|
|||
</div>
|
||||
|
||||
<textarea class="form-control mb-2" bind:value={question.desc_raw} placeholder="Description de la question"></textarea>
|
||||
{:else if question.description}
|
||||
{:else if question.description && !nodescription}
|
||||
<p class="card-text mt-2">{@html question.description}</p>
|
||||
{/if}
|
||||
</div>
|
||||
|
|
|
|||
Reference in a new issue