Improve sizing of list items

- border and padding are now also in Millimeters
- The border is now bi-color and alternating
This commit is contained in:
Tobias Ludwig Maier 2023-12-28 23:01:54 +01:00
parent d97d521d57
commit 87516406f9

View file

@ -197,8 +197,8 @@
<ol class="grid grid-cols-7 gap-x-[2.5mm]">
<template x-for="label in labels">
<li
class="flex h-[10mm] w-[25.4mm] items-center border p-1"
:class="{'border-transparent': !borderToggle}"
class="flex h-[10mm] w-[25.4mm] items-center border-[0.5mm] p-[0.5mm] odd:border-blue-500 even:border-red-300"
:class="{'even:border-transparent odd:border-transparent': !borderToggle}"
>
<img
:src="label.qrCodeUrl"