Commit 7690f686 authored by Romain Courteaud's avatar Romain Courteaud

erp5_document_scanner: add related less file

parent 11699254
......@@ -102,12 +102,6 @@ div[data-gadget-url$="gadget_document_scanner.html"] .camera-input {
/* Never limit the container height here */
position: relative;
width: 100%;
/*
img {
max-width: 100%;
width: 100%;
}
*/
}
div[data-gadget-url$="gadget_document_scanner.html"] .img-container img,
div[data-gadget-url$="gadget_document_scanner.html"] .camera-input img,
......
......@@ -244,7 +244,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>982.61619.4758.34133</string> </value>
<value> <string>982.62568.19112.61303</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>1585846327.08</float>
<float>1585903332.52</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -13,7 +13,6 @@ div[data-gadget-url$="gadget_document_scanner.html"] {
.photo, .video, .camera-output, .canvas {
max-width: 100%;
width: auto;
max-height: 500px;
filter: brightness(1);
text-align: center;
}
......@@ -100,9 +99,13 @@ div[data-gadget-url$="gadget_document_scanner.html"] {
height: calc(6em + 1px);
}
.img-container {
.img-container, .camera-input {
/* Never limit the container height here */
max-width: 100%;
position: relative;
width: 100%;
img, video {
max-height: 75vh;
}
}
.btn-thumbnail:before {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment