-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3459 from Cryptorubic/fix-spindl
Fix spindl
- Loading branch information
Showing
6 changed files
with
36 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 10 additions & 11 deletions
21
src/app/shared/components/spindle-banner/spindle-banner.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
<div | ||
*ngLet="{ src: iframeSrc$ | async, size: iframeSize$ | async } as state" | ||
class="spindle-banner" | ||
> | ||
<iframe | ||
[src]="state.src | safeSanitizer : 'resourceUrl'" | ||
[width]="state.size.width" | ||
[height]="state.size.height" | ||
title="SpindleAds" | ||
></iframe> | ||
</div> | ||
<ng-container *ngLet="{ src: iframeSrc$ | async, size: iframeSize$ | async } as state"> | ||
<div *ngIf="state.src" class="spindle-banner"> | ||
<iframe | ||
[src]="state.src | safeSanitizer : 'resourceUrl'" | ||
[width]="state.size.width" | ||
[height]="state.size.height" | ||
title="SpindleAds" | ||
></iframe> | ||
</div> | ||
</ng-container> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters