You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Marcus Christie (JIRA)" <ji...@apache.org> on 2019/07/23 20:21:00 UTC

[jira] [Commented] (AIRAVATA-3163) In Experiment Statistics, when clicked on an experiment to view details, cannot scroll back to the top.

    [ https://issues.apache.org/jira/browse/AIRAVATA-3163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16891343#comment-16891343 ] 

Marcus Christie commented on AIRAVATA-3163:
-------------------------------------------

Tried making the header absolutely positioned to the top, but still the header gets scrolled off the page:

{noformat}
diff --git a/django_airavata/static/common/scss/main.scss b/django_airavata/static/common/scss/main.scss
index 008a79a8..1c6cf58f 100644
--- a/django_airavata/static/common/scss/main.scss
+++ b/django_airavata/static/common/scss/main.scss
@@ -3,6 +3,9 @@ body {
     height: 100%;
 }
 
+$header_height: 70px;
+$header_height_with_border: $header_height + 1px;
+
 body {
     color: #333;
     background-color: #f7f7f7;
@@ -14,11 +17,17 @@ body {
     align-items: center;
     border-bottom: 1px solid #ddd;
     background-color: #ffffff;
+    position: absolute;
+    top: 0;
+    left: 0;
+    right: 0;
+    height: $header_height_with_border;
+    box-sizing: border-box;
 
     &__logo {
         margin-right: 1rem;
-        width: 70px;
-        height: 70px;
+        width: $header_height;
+        height: $header_height;
         background-color: #EEEEEE;
         display: flex;
         flex-direction: column;
@@ -95,6 +104,8 @@ body {
     height: 100%;
     display: flex;
     flex-direction: column;
+    position: relative;
+    top: $header_height_with_border;
 }
 
 @media screen and (min-width: 768px) {
{noformat}

> In Experiment Statistics, when clicked on an experiment to view details, cannot scroll back to the top.
> -------------------------------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-3163
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3163
>             Project: Airavata
>          Issue Type: Sub-task
>          Components: Django Portal
>    Affects Versions: 0.18
>         Environment: https://django.staging.seagrid.org
>            Reporter: Eroma
>            Assignee: Marcus Christie
>            Priority: Major
>
> 1. In experiment statistics user clicks on one experiment to view task details.
> 2. Afterwards the user wants to click on workspace from top right drop down
> 3. But user cannot scroll up.
> 4. The only way to get the top bar was to click on Application catalog icon on left and then scroll up and click on workspace.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)