fix(kiosk): Increase QR code size to 320px with fixed dimensions
- Removed maxWidth constraint that caused scaling - Set explicit height/width to prevent shrinking
This commit is contained in:
parent
58d76fb158
commit
b35c32279c
1 changed files with 6 additions and 9 deletions
|
|
@ -542,15 +542,12 @@ export default function VisitorKioskPage() {
|
||||||
|
|
||||||
{successData.badgeNumber && ( // Only show QR for Check-IN, not Check-OUT
|
{successData.badgeNumber && ( // Only show QR for Check-IN, not Check-OUT
|
||||||
<div className="mt-8 space-y-6">
|
<div className="mt-8 space-y-6">
|
||||||
<div className="inline-block bg-white p-6 rounded-2xl shadow-2xl">
|
<div className="inline-block bg-white p-8 rounded-3xl shadow-2xl">
|
||||||
<div style={{ height: "auto", margin: "0 auto", width: 280 }}>
|
<QRCode
|
||||||
<QRCode
|
size={320}
|
||||||
size={280}
|
style={{ height: 320, width: 320 }}
|
||||||
style={{ height: "auto", maxWidth: "100%", width: "100%" }}
|
value={`${window.location.origin}/badges/${successData.visitId || 'demo-token'}`}
|
||||||
value={`${window.location.origin}/badges/${successData.visitId || 'demo-token'}`}
|
/>
|
||||||
viewBox={`0 0 280 280`}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue