diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-06-19 17:09:54 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-06-19 17:09:56 +0200 |
commit | 2c41aae53904c26bc3b4975ab96db3d5ff8413ad (patch) | |
tree | ec5eb9d0e8c5f9ea801c6de04db2c7ee40300e30 /webapp/src/app/@theme/layouts/xds/xds.layout.html | |
parent | 48739a930ceb0c6a4b843471750da70db2052890 (diff) |
Temporary disable automatic open/close sidebar
Auto open/close logic in xds.layout.ts file seems buggy resulting to
a flicking sidebar. So disable this feature for now.
Change-Id: I1df6cd0af9f1b60cd54b48d763a870ef69a5fbe9
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'webapp/src/app/@theme/layouts/xds/xds.layout.html')
-rw-r--r-- | webapp/src/app/@theme/layouts/xds/xds.layout.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/webapp/src/app/@theme/layouts/xds/xds.layout.html b/webapp/src/app/@theme/layouts/xds/xds.layout.html index ee0a80b..ffbe80c 100644 --- a/webapp/src/app/@theme/layouts/xds/xds.layout.html +++ b/webapp/src/app/@theme/layouts/xds/xds.layout.html @@ -9,17 +9,29 @@ <nb-sidebar-header (click)="pinSidebar()"> <!-- left sidebar --> + <!-- FIXME - bug flicking menu <nb-actions *ngIf="sidebar.id === 'left'" size="small" class="header-container right"> <nb-action id="pin-sidebar" [icon]="(!sidebarPinned || sidebarCompact) ? 'fa fa-angle-double-right':'fa fa-angle-double-left'" [ngbTooltip]="sidebarPinned ? 'Undock the sidebar so it is hidden when no being focused':'Dock the sidebar so you can always see it'" placement="bottom"> </nb-action> </nb-actions> + --> + <nb-actions *ngIf="sidebar.id === 'left'" size="small" class="header-container right"> + <nb-action id="pin-sidebar" icon="fa fa-angle-double-left" placement="bottom" (click)="closeSidebar()"> + </nb-action> + </nb-actions> <!-- right sidebar --> + <!-- FIXME - bug flicking menu <nb-actions *ngIf="sidebar.id === 'right'" size="small" class="header-container left"> <nb-action id="pin-sidebar" [icon]="(!sidebarPinned || sidebarCompact) ? 'fa fa-angle-double-left':'fa fa-angle-double-right'" [ngbTooltip]="sidebarPinned ? 'Undock the sidebar so it is hidden when no being focused':'Dock the sidebar so you can always see it'" placement="bottom"> </nb-action> </nb-actions> + --> + <nb-actions *ngIf="sidebar.id === 'right'" size="small" class="header-container left"> + <nb-action id="pin-sidebar" icon="fa fa-angle-double-right" placement="bottom" (click)="closeSidebar()"> + </nb-action> + </nb-actions> </nb-sidebar-header> <ng-content select="nb-menu"></ng-content> |