Fix for Resizing the main tab area upon collapsing left menu
[portal.git] / portal-FE-common / src / app / layout / components / tabbar / tabbar.component.ts
index 7a10e39..b0b882d 100644 (file)
@@ -92,4 +92,11 @@ export class TabbarComponent implements OnInit {
     if(this.tabs.length != 0 && $event.index != 0)
       this.tabs[$event.index - 1].active = true;
   }
+  
+  setStyle() {  
+    const style = {
+       'margin-left': this.collapedSideBar ? '80px' : '370px',
+    };
+    return style;
+  }
 }