Skip to content

Commit

Permalink
Merge pull request #12 from SPF-Open/Fix---image-width
Browse files Browse the repository at this point in the history
Fix : image-width
  • Loading branch information
Benoit-Welsch committed Mar 6, 2024
2 parents 6e9b521 + 216162e commit ba9f637
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/template/Question.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
<!-- eslint-disable svelte/no-at-html-tags -->
{@html prompt.innerHTML}
<p class="maxChar">
{question.maxLenght && question.maxLenght[i]
{question.type == 'QO' && (question.maxLenght && question.maxLenght[i])
? question.maxLenght[i] + ' caractères maximum.' || ''
: ''}
: ''}
</p>
<!--eslint-enable-->
{/each}
Expand Down Expand Up @@ -114,7 +114,6 @@
.prompt :global(img) {
max-height: calc(297mm - 100px);
max-width: 98%;
width: auto;
}
.answers {
Expand Down

0 comments on commit ba9f637

Please sign in to comment.