Code Review
/
portal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix for Resizing the main tab area upon collapsing left menu
[portal.git]
/
portal-FE-common
/
src
/
app
/
layout
/
components
/
tabbar
/
tabbar.component.ts
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
7a10e39
..
b0b882d
100644
(file)
--- 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;
+ }
}