You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2019/07/19 18:29:31 UTC

[airavata-django-portal] branch master updated: AIRAVATA-3066 Fix height of input file viewer

This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git


The following commit(s) were added to refs/heads/master by this push:
     new 5f31278  AIRAVATA-3066 Fix height of input file viewer
5f31278 is described below

commit 5f31278fd088c3deaa912c982caec1acc2265c1c
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Fri Jul 19 14:29:21 2019 -0400

    AIRAVATA-3066 Fix height of input file viewer
---
 .../js/components/experiment/input-editors/FileInputEditor.vue     | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/input-editors/FileInputEditor.vue b/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/input-editors/FileInputEditor.vue
index 2ae5420..3b47b34 100644
--- a/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/input-editors/FileInputEditor.vue
+++ b/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/input-editors/FileInputEditor.vue
@@ -1,5 +1,5 @@
 <template>
-  <div>
+  <div class="file-input-editor">
     <div
       class="d-flex"
       v-if="isDataProductURI && dataProduct"
@@ -15,6 +15,7 @@
       </b-link>
       <b-modal
         :title="dataProduct.productName"
+        class="view-file-modal"
         ref="modal"
         ok-only
       >
@@ -241,4 +242,8 @@ export default {
 .input-file-option {
   flex: 1 1 50%;
 }
+.view-file-modal >>> .modal-body {
+  max-height: 50vh;
+  overflow: auto;
+}
 </style>