Browse Source

Fix UI bugs on Helpdesk detail page - header and person card should not change heights when in wide layout; profile tab should be open on page load

Joseph White 7 years ago
parent
commit
a4e4466027

+ 1 - 2
client/src/helpdesk/helpdesk-detail.component.html

@@ -77,8 +77,7 @@
         <div class="ias-tabset">
             <div class="ias-tab"
                  ias-toggle-active="ias-active"
-                 ias-toggle="profileTab"
-                 ng-if="$ctrl.person.profileData && $ctrl.person.profileData.length">
+                 ias-toggle="profileTab">
                 {{'Field_Profile' | translate}}
             </div>
             <div class="ias-tab"

+ 1 - 2
client/src/helpdesk/helpdesk-detail.component.scss

@@ -39,7 +39,6 @@ help-desk-detail {
   > .secondary-header {
     display: flex;
     justify-content: space-between;
-    margin-top: 15px;
   }
 
   > .help-desk-content {
@@ -147,9 +146,9 @@ help-desk-detail {
     display: flex;
     flex-flow: column nowrap;
 
+    > .ias-header,
     > .secondary-header {
       flex-shrink: 0;
-
     }
 
     > .help-desk-content {