Improve layout for some camera types
This commit is contained in:
@ -2,14 +2,22 @@
|
||||
/* Barcode scanner CSS */
|
||||
#barcode-scanner {
|
||||
position: relative;
|
||||
min-height: 450px;
|
||||
max-width: 100%;
|
||||
text-align: center;
|
||||
|
||||
video {
|
||||
height: calc(70vh - 200px);
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.drawingBuffer {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
right: 0;
|
||||
margin: auto;
|
||||
height: calc(70vh - 200px);
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user