Make it responsive.

This commit is contained in:
Dominik Pantůček 2025-04-08 21:15:42 +02:00
parent 5f3ac45fa3
commit c86bdc383f
2 changed files with 7 additions and 35 deletions

View file

@ -54,8 +54,8 @@ function App() {
{/* Barcode scanner component */}
<div className="scan" style={{border: '1px solid black'}}>
<BarcodeScannerComponent
width={500}
height={500}
width={"100%"}
height={"auto"}
onUpdate={handleScan}
delay={1500} // 1.5 seconds delay between scans
/>