mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 12:35:07 +00:00
Perfect scrollbar shouldn't be destroyed if it's not available
+ Print media css classes updated to hide the perfect scrollbars
This commit is contained in:
parent
ad21d9fed5
commit
2bbc90af64
|
@ -54,7 +54,7 @@ export class FusePerfectScrollbarDirective implements OnInit, AfterViewInit, OnD
|
||||||
|
|
||||||
ngOnDestroy()
|
ngOnDestroy()
|
||||||
{
|
{
|
||||||
if ( !this.isInitialized )
|
if ( !this.isInitialized || !this.ps )
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,8 +42,8 @@
|
||||||
fuse-footer,
|
fuse-footer,
|
||||||
fuse-quick-panel,
|
fuse-quick-panel,
|
||||||
fuse-theme-options,
|
fuse-theme-options,
|
||||||
.ps > .ps__scrollbar-x-rail,
|
.ps > .ps__rail-x,
|
||||||
.ps > .ps__scrollbar-y-rail {
|
.ps > .ps__rail-y {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user