Commit 5dce448a authored by Romain Courteaud's avatar Romain Courteaud

erp5_document_scanner: ensure img height is controlled

parent 2c3f91c5
......@@ -97,6 +97,9 @@ div[data-gadget-url$="gadget_document_scanner.html"] .new-btn {
div[data-gadget-url$="gadget_document_scanner.html"] .review-img-container {
height: 70vh;
}
div[data-gadget-url$="gadget_document_scanner.html"] .review-img-container img {
max-height: 100%;
}
div[data-gadget-url$="gadget_document_scanner.html"] .img-container,
div[data-gadget-url$="gadget_document_scanner.html"] .camera-input {
/* Never limit the container height here */
......
......@@ -244,7 +244,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>982.62807.48775.28757</string> </value>
<value> <string>983.1627.17749.2013</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>1585922346.12</float>
<float>1586178991.43</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -96,6 +96,9 @@ div[data-gadget-url$="gadget_document_scanner.html"] {
.review-img-container {
height: 70vh;
img {
max-height: 100%;
}
}
.img-container, .camera-input {
......
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