Commit 5affcb78 authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_document_scanner: Fix CSS to render thumbnails

parent d3164926
......@@ -67,10 +67,6 @@ div[data-gadget-url$="gadget_document_scanner.html"] .confirm-btn {
margin-right: 6pt;
}
div[data-gadget-url$="gadget_document_scanner.html"] .ui-btn-icon-left:before {
margin-right: 6pt;
}
div[data-gadget-url$="gadget_document_scanner.html"] button:disabled,
div[data-gadget-url$="gadget_document_scanner.html"] button[disabled] {
color: #999999;
......@@ -81,8 +77,6 @@ div[data-gadget-url$="gadget_document_scanner.html"] > .camera > .thumbnail-list
}
div[data-gadget-url$="gadget_document_scanner.html"] .show-img {
width: 100%;
padding-left: 0.2em;
width: 6em;
height: 6em;
object-fit: cover;
......@@ -99,9 +93,16 @@ div[data-gadget-url$="gadget_document_scanner.html"] .btn-thumbnail ,
margin-top: 0.2em;
}
div[data-gadget-url$="gadget_document_scanner.html"] button:before {
padding-right: 0.2em;
}
div[data-gadget-url$="gadget_document_scanner.html"] .thumbnail-list > button {
display: inline;
float: left;
margin-left: 0.2em;
border: 1px solid rgba(0, 0, 0, 0.14);
border-radius: 0.325em;
}
div[data-gadget-url$="gadget_document_scanner.html"] .upload-error {
......@@ -110,11 +111,8 @@ div[data-gadget-url$="gadget_document_scanner.html"] .upload-error {
div[data-gadget-url$="gadget_document_scanner.html"] .new-btn {
display: inline-grid !important;
margin-left: 0.2em;
border: 1px solid rgba(0, 0, 0, 0.14);
border-radius: 0.325em;
width: 6em;
height: 6em;
width: calc(6em + 1px);
height: calc(6em + 1px);
}
div[data-gadget-url$="gadget_document_scanner.html"] .img-container {
......
......@@ -244,7 +244,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>981.62874.23164.62173</string> </value>
<value> <string>981.65279.57522.18909</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>1582224379.56</float>
<float>1582306674.23</float>
<string>UTC</string>
</tuple>
</state>
......
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