Fixed Portal-Multi-Tab Issue 23/109723/1
authorSudarshan Kumar <sudarshan.kumar@att.com>
Wed, 1 Jul 2020 10:14:13 +0000 (15:44 +0530)
committerSudarshan Kumar <sudarshan.kumar@att.com>
Wed, 1 Jul 2020 10:15:20 +0000 (15:45 +0530)
Fixed Portal-Multi-Tab Issue

Issue-ID: PORTAL-936
Change-Id: I71198ef118e0a172fc25507af1fe790c7bcf4015
Signed-off-by: Sudarshan Kumar <sudarshan.kumar@att.com>
portal-FE-common/src/app/layout/components/tabbar/tabbar.component.html

index 31bb197..2aecbba 100644 (file)
@@ -86,9 +86,9 @@
         <div *ngFor="let tab of tabs; let index = index"
           [style.display]='tab.active? "inline" : "none"'
           [style.position]='tab.active? "static" : "absolute"'
-          [style.height]='tab.active? "calc(100vh)" : "calc(0vh)"'>
+          [style.height]='tab.active? "45rem" : "45rem"'>
 
-          <iframe id="tabframe-{{tab.label.split(' ').join('-')}}" scrolling='yes' frameBorder='0' width='100%'
+          <iframe id="tabframe-{{tab.label.split(' ').join('-')}}-{{index}}" scrolling='yes' frameBorder='0' width='100%'
             scrolling='yes' frameBorder='0' width='100%' height='90%' [src]='tab.url'></iframe>
 
         </div>