fix:Remove add image and Align download input file with same width as pdf file input (#1884)

fix:Remove add image button as the button was non functional. Align download input file with same width as pdf file input
This commit is contained in:
see-more 2024-09-12 19:47:13 +08:00 committed by GitHub
parent 6a9dd4ea95
commit 1fb78c3124
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,7 +45,6 @@
</script> </script>
<div class="tab-group show-on-file-selected"> <div class="tab-group show-on-file-selected">
<div class="tab-container" th:title="#{addImage.upload}">
<div th:replace="~{fragments/common :: fileSelector(name='image-upload', multipleInputsForSingleRequest=true, accept='image/*', inputText=#{imgPrompt})}"></div> <div th:replace="~{fragments/common :: fileSelector(name='image-upload', multipleInputsForSingleRequest=true, accept='image/*', inputText=#{imgPrompt})}"></div>
<script> <script>
const imageUpload = document.querySelector('input[name=image-upload]'); const imageUpload = document.querySelector('input[name=image-upload]');
@ -63,7 +62,6 @@
}); });
</script> </script>
</div> </div>
</div>
<!-- draggables box --> <!-- draggables box -->
<div id="box-drag-container" class="show-on-file-selected"> <div id="box-drag-container" class="show-on-file-selected">