Make it responsive.
This commit is contained in:
parent
5f3ac45fa3
commit
c86bdc383f
2 changed files with 7 additions and 35 deletions
|
@ -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
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue