mirror of https://github.com/abpframework/abp.git
3 changed files with 31 additions and 1 deletions
@ -0,0 +1,9 @@ |
|||||
|
export default ` |
||||
|
.content-header-title { |
||||
|
font-size: 24px; |
||||
|
} |
||||
|
|
||||
|
.entry-row { |
||||
|
margin-bottom: 15px; |
||||
|
} |
||||
|
`;
|
||||
@ -0,0 +1,18 @@ |
|||||
|
import { Injectable } from '@angular/core'; |
||||
|
import { Router } from '@angular/router'; |
||||
|
import { LazyLoadService } from '@abp/ng.core'; |
||||
|
import styles from '../constants/styles'; |
||||
|
|
||||
|
@Injectable({ providedIn: 'root' }) |
||||
|
export class InitialService { |
||||
|
constructor( |
||||
|
private router: Router, |
||||
|
private lazyLoadService: LazyLoadService, |
||||
|
) { |
||||
|
this.appendStyle().subscribe(); |
||||
|
} |
||||
|
|
||||
|
appendStyle() { |
||||
|
return this.lazyLoadService.load(null, 'style', styles, 'head', 'afterbegin'); |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue