Skip to content

Commit

Permalink
Merge pull request #29 from mad-lab-fau/dev
Browse files Browse the repository at this point in the history
fix: large qr codes do not overlap anymore
  • Loading branch information
roschro-fau authored Apr 26, 2024
2 parents 2e77588 + c887aa6 commit 148584e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "carwatch-web",
"version": "1.0.0",
"version": "1.0.1",
"private": true,
"scripts": {
"dev": "vite dev",
Expand Down
2 changes: 1 addition & 1 deletion src/routes/download/qrcode/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<div class="page grid grid-cols-{$qrCodeProps.numColumns} bg-white px" style="--width: {width}; --height: {height}" style:padding="20mm">
{#each Array(qrPerPage) as _, i}
<div class="label p-4 overflow-hidden" >
<canvas class="qr-code object-contain justify-center"/>
<canvas class="qr-code object-contain justify-center" style="max-height: 145px; max-width: 145px"/>
{#if $qrCodeProps.includeParticipantId && page * qrPerPage + i < $studyProps.numParticipants}
<p class="absolute text-black px-2 pt-135">{$studyProps.participantList[page * qrPerPage + i]}</p>
{/if}
Expand Down

0 comments on commit 148584e

Please sign in to comment.