mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-04 16:48:49 +01:00
menu styles should be included globally
This commit is contained in:
parent
3b02486219
commit
c9b4304031
2 changed files with 3 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ import {SidebarStateService} from '../sidebar/sidebarState.service'
|
|||
})
|
||||
export class PageTop {
|
||||
isScrolled: Boolean = false;
|
||||
isMenuCollapsed: Boolean = false;
|
||||
isMenuCollapsed: boolean = false;
|
||||
|
||||
private _sidebarStateSubscription: Subscription;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import {Component, ElementRef, HostListener} from 'angular2/core';
|
||||
import {Component, ElementRef, HostListener, ViewEncapsulation} from 'angular2/core';
|
||||
import {Router} from 'angular2/router';
|
||||
|
||||
import {layoutSizes} from '../theme.constants';
|
||||
|
|
@ -7,6 +7,7 @@ import {SidebarStateService} from './sidebarState.service';
|
|||
|
||||
@Component({
|
||||
selector: 'sidebar',
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
styles: [ require('./sidebar.scss') ],
|
||||
template: require('./sidebar.html'),
|
||||
providers: [SidebarService],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue