Commit 7f3417da authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_document_scanner: Improve css to view picture

parent 14642b5f
......@@ -10,7 +10,7 @@ div[data-gadget-scope="field_your_document_scanner_gadget"] {
.video, .photo, .camera-output {
max-width: 100%;
width: auto;
max-height: 360px;
max-height: 500px;
filter: brightness(1);
text-align: center;
}
......@@ -53,10 +53,9 @@ div[data-gadget-scope="field_your_document_scanner_gadget"] {
.reset-btn, .confirm-btn, .edit-btn, .take-picture-btn,
.capture-btn, .change-camera-btn, .confirm-btn {
font-size: 44px;
color: #212529;
padding: 3pt;
border: 1px solid rgba(0, 0, 0, 0.14);
border-radius: 0.325em;
padding: 0 16px 0 16px;
}
.take-picture-btn, .capture-btn, .confirm-btn,
......@@ -74,3 +73,9 @@ button:disabled,
button[disabled]{
color: #999999;
}
@media only screen and (max-width: 600px) {
body {
max-height: 360px;
}
}
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