Skip to content

Commit 07d6da3

Browse files
authored
fix pivot samples styles (#341)
* fix pivot samples styles * Use hash in routes to fix gh-pages
1 parent 8b31ffd commit 07d6da3

File tree

3 files changed

+6
-15
lines changed

3 files changed

+6
-15
lines changed

src/app/app-routing.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ const routes: Routes = [
5151

5252
@NgModule({
5353
exports: [ RouterModule ],
54-
imports: [ RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' }) ]
54+
imports: [ RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy', useHash: true }) ]
5555
})
5656
export class AppRoutingModule { }

src/app/pivot-grid-flat-data-source/pivot-grid-flat-data-source.component.css

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@
22
:host /deep/ #dataSelector, #pivotGrid {
33
float: left;
44
}
5-
#pivotGrid {
6-
width: 75%;
7-
}
8-
#dataSelector, #pivotGrid_container {
9-
float: left;
10-
}
11-
#pivotGrid_container {
5+
6+
:host /deep/ #pivotGrid_container {
7+
float: right;
128
width: 75%;
139
}
Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
:host /deep/ #dataSelector, #pivotGrid {
22
float: left;
33
}
4-
#pivotGrid {
5-
width: 75%;
6-
}
74

8-
#dataSelector, #pivotGrid_container {
9-
float: left;
10-
}
11-
#pivotGrid_container {
5+
:host /deep/ #pivotGrid_container {
6+
float: right;
127
width: 70%;
138
}

0 commit comments

Comments
 (0)