Skip to content

Commit d0dca2c

Browse files
committed
fix(default-layout): add css classes to c-sidebar and c-header to avoid late class binding effects, use perfect-scrollbar component - drop directive
1 parent 74ee582 commit d0dca2c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/app/containers/default-layout/default-layout.component.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!--sidebar-->
22
<c-sidebar
33
#sidebar="cSidebar"
4-
class="d-print-none"
4+
class="d-print-none sidebar sidebar-fixed"
55
id="sidebar"
66
visible
77
>
@@ -21,13 +21,13 @@
2121
[routerLink]
2222
>
2323
</c-sidebar-brand>
24-
<!-- <perfect-scrollbar [config]="perfectScrollbarConfig">-->
24+
<perfect-scrollbar [config]="perfectScrollbarConfig">
25+
<!-- [perfectScrollbar]="perfectScrollbarConfig"-->
2526
<c-sidebar-nav
2627
[navItems]="navItems"
27-
[perfectScrollbar]="perfectScrollbarConfig"
2828
>
2929
</c-sidebar-nav>
30-
<!-- </perfect-scrollbar>-->
30+
</perfect-scrollbar>
3131
<c-sidebar-toggler
3232
*ngIf="!sidebar.narrow"
3333
toggle="unfoldable"
@@ -38,7 +38,7 @@
3838
<!--main-->
3939
<div class="wrapper d-flex flex-column min-vh-100 bg-light dark:bg-transparent">
4040
<!--app-header-->
41-
<app-default-header class="mb-4 d-print-none" position="sticky" sidebarId="sidebar"></app-default-header>
41+
<app-default-header class="mb-4 d-print-none header header-sticky" position="sticky" sidebarId="sidebar"></app-default-header>
4242
<!--app-body-->
4343
<div class="body flex-grow-1 px-3">
4444
<c-container breakpoint="lg" class="h-auto">

0 commit comments

Comments
 (0)