diff options
Diffstat (limited to 'portal-FE-common/src/app/layout/components/tabbar/tabbar.component.ts')
-rw-r--r-- | portal-FE-common/src/app/layout/components/tabbar/tabbar.component.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/portal-FE-common/src/app/layout/components/tabbar/tabbar.component.ts b/portal-FE-common/src/app/layout/components/tabbar/tabbar.component.ts index 7a10e39d..b0b882d3 100644 --- a/portal-FE-common/src/app/layout/components/tabbar/tabbar.component.ts +++ b/portal-FE-common/src/app/layout/components/tabbar/tabbar.component.ts @@ -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; + } } |