improvements for qr code check-in feature
- removed ability to manually enter code to be displayed as QR code. Codes can only be scanned via camera or imported from an image on the device - Cards can be edited once they are created. E.g. changing the description, re-scanning the code - You can change the order of code-cards via long-press - Last selected code-card will be shown when selecting "check in" on home screen - Optics: Correctly centered titles of code-cards
This commit is contained in:
1 parent
5c2005e81f
commit
0ef72ae619
4 files changed
+227
-52
No files matched your search
+10
-1
@@ -1160,9 +1160,18 @@ h4.sec{
|
||||
scroll-snap-align:center;flex:0 0 100%;box-sizing:border-box;
|
||||
background:var(--surface);border-radius:var(--r-xl);padding:22px 18px;
|
||||
display:flex;flex-direction:column;align-items:center;gap:14px;
|
||||
transition:transform var(--fast),box-shadow var(--fast),opacity var(--fast);
|
||||
}
|
||||
.ci-card .ci-label{font-size:19px;font-weight:600;letter-spacing:-.014em;text-align:center}
|
||||
/* header row: edit — title — trash. The two icon buttons are equal fixed widths so the title,
|
||||
flexed between them, stays optically centered on the card no matter how long it is. */
|
||||
.ci-card-hd{display:flex;align-items:center;gap:8px;width:100%}
|
||||
.ci-card-btn{width:30px;height:30px;font-size:14px;flex:none}
|
||||
.ci-card .ci-label{flex:1;min-width:0;font-size:19px;font-weight:600;letter-spacing:-.014em;text-align:center;overflow-wrap:anywhere}
|
||||
.ci-card .ci-value{font-size:14px;color:var(--label-2);word-break:break-all;text-align:center;font-variant-numeric:tabular-nums}
|
||||
/* long-press reorder: the lifted card floats above the rest, which dim slightly to recede. */
|
||||
.ci-rail.is-reordering{scroll-snap-type:none}
|
||||
.ci-rail.is-reordering .ci-card:not(.is-dragging){opacity:.6}
|
||||
.ci-card.is-dragging{transform:scale(1.03);box-shadow:0 12px 30px -8px rgba(0,0,0,.4);z-index:2}
|
||||
/* The QR itself: lean-qr paints 1 module per pixel, so scale it up with the browser's
|
||||
nearest-neighbour so every module stays a crisp square instead of a blurred blob. White
|
||||
quiet-zone padding is baked in by the renderer; the plate underneath just frames it. */
|
||||
|
||||
Reference in new issue
Block a user