router navigation issues fixed
This commit is contained in:
Родитель
2d79195fc1
Коммит
c7c16b9fdd
|
@ -1,12 +1,12 @@
|
|||
<div style="padding-left:0px;" class="collapse navbar-collapse" id="skeleton-navigation-navbar-collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a data-toggle="collapse" data-target="#skeleton-navigation-navbar-collapse.in" href="#" [routerLink]="['/']">Syncfusion Angular 2</a></li>
|
||||
<li><a data-toggle="collapse" data-target="#skeleton-navigation-navbar-collapse.in" href="#home" [routerLink]="['/home']">Home
|
||||
</a></li>
|
||||
<li><a data-toggle="collapse" data-target="#skeleton-navigation-navbar-collapse.in" href="#grid" [routerLink]="['/grid']">Grid
|
||||
</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div style="padding-left:0px;" class="collapse navbar-collapse" id="skeleton-navigation-navbar-collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a data-toggle="collapse" data-target="#skeleton-navigation-navbar-collapse.in" href="#">Syncfusion Angular 2</a></li>
|
||||
<li><a data-toggle="collapse" data-target="#skeleton-navigation-navbar-collapse.in" href="#home">Home</a></li>
|
||||
<li><a data-toggle="collapse" data-target="#skeleton-navigation-navbar-collapse.in" href="#grid">Grid</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<main>
|
||||
<router-outlet></router-outlet>
|
||||
</main>
|
|
@ -20,4 +20,14 @@
|
|||
width: 80px;
|
||||
margin: auto;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
main {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 50px;
|
||||
bottom: 0;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
}
|
Загрузка…
Ссылка в новой задаче