mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 23:40:14 +01:00
ba card blue fixed
This commit is contained in:
parent
fffe24d7aa
commit
476e3f29a1
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ export class BaCardBlurHelper {
|
|||
|
||||
private _genBgImage():void {
|
||||
this.image = new Image();
|
||||
let computedStyle = getComputedStyle(document.body, ':before');
|
||||
let computedStyle = getComputedStyle(document.body.querySelector('main'), ':before');
|
||||
this.image.src = computedStyle.backgroundImage.replace(/url\((['"])?(.*?)\1\)/gi, '$2');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue