Skip to content

Commit 8f14899

Browse files
authored
Fix/new bo style (MTES-MCT#906)
* πŸ’„ UI(bo): add card style for automatic checks * πŸ’„ UI(bo): limit height of document
1 parent f5a74ac commit 8f14899

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

β€Ždossierfacile-bo/src/main/resources/templates/bo/process-file.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@
6565

6666
<div th:each="messageItem, i:${customMessage.getMessageItems()}" th:remove="tag">
6767
<div class="row mt-4">
68-
<div class="col-md-8" style="min-height: 700px" th:if="${messageItem.getCustomTex()}==null">
68+
<div class="col-md-8" style="min-height: 700px; max-height: 1050px" th:if="${messageItem.getCustomTex()}==null">
6969
<embed class="document-embed" height="100%"
7070
th:src="'/pdf-viewer/pdfjs-dist/web/viewer.html?file=/documents/'+${messageItem.getDocumentName()}"
7171
width="100%"/>
7272
</div>
73-
<div class="col-md-8" style="min-height: 700px" th:if="${messageItem.getCustomTex()}!=null">
73+
<div class="col-md-8" style="min-height: 700px; max-height: 1050px" th:if="${messageItem.getCustomTex()}!=null">
7474
<div class="full-size-div">
7575
<div class="card-div">
7676
<div class="card" style="background-color: rgb(232, 237, 241)">
@@ -217,12 +217,12 @@ <h4>Lecture automatiques :</h4>
217217
<div th:each="messageItem, i:${guarantorItem.getMessageItems()}" th:remove="tag">
218218
<div class="row mt-4">
219219

220-
<div class="col-md-8" style="min-height: 700px" th:if="${messageItem.getCustomTex()}==null">
220+
<div class="col-md-8" style="min-height: 700px; max-height: 1050px" th:if="${messageItem.getCustomTex()}==null">
221221
<embed class="document-embed" height="100%"
222222
th:src="'/pdf-viewer/pdfjs-dist/web/viewer.html?file=/documents/'+${messageItem.getDocumentName()}"
223223
width="100%"/>
224224
</div>
225-
<div class="col-md-8" style="min-height: 700px" th:if="${messageItem.getCustomTex()}!=null">
225+
<div class="col-md-8" style="min-height: 700px; max-height: 1050px" th:if="${messageItem.getCustomTex()}!=null">
226226
<div class="full-size-div">
227227
<div class="card-div">
228228
<div class="card" style="background-color: rgb(232, 237, 241)">

0 commit comments

Comments
Β (0)