mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 20:26:42 +00:00
Camera barcode scanner enhancements (#675)
* Disable torch button, if not supported * Allow toggling torch * Don't exceed the screen width with camera window * Disable torch button, if not supported * Allow toggling torch * Don't exceed the screen width with camera window * Allow toggling torch * Disable torch button, if not supported * Allow toggling torch * Don't exceed the screen width with camera window * Allow toggling torch * Allow toggling torch * Don't exceed the screen width with camera window * Remove toggling of torch, as it's not working and add resize of video to fit in viewport hieght * Add feature to always turn on the torch in camera scanner. * Fix feature flag name Co-authored-by: Michael Neuendorf <neuendorf@gonicus.de>
This commit is contained in:
@@ -259,6 +259,21 @@ input::-webkit-inner-spin-button {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* Barcodescanner Quagga */
|
||||
#barcodescanner-container {
|
||||
max-height: 90vw;
|
||||
}
|
||||
#livestream-container {
|
||||
max-height: 100%;
|
||||
}
|
||||
#barcodescanner-livestream video {
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
#barcodescanner-livestream canvas {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Third party component customizations - Bootstrap */
|
||||
|
||||
/* Hide the form validation feedback icons introduced in Bootstrap 4.2.0 - a colored border is enough */
|
||||
|
Reference in New Issue
Block a user