mirror of https://github.com/abpframework/abp
parent
9638ef107b
commit
24b389d639
@ -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