docs: fix dynamic-component-loader example for Adblock Plus + EasyList (#27212)
Reported issue in #18138 is due to EasyList being selected in ABP. This commit fixes both the image at the bottom of the Dynamic Component Loader example, and the Stackblitz demo. Fixes #18138 PR Close #27212
This commit is contained in:
parent
d40af0c137
commit
3983d04b1c
|
@ -9,7 +9,7 @@ import { AdComponent } from './ad.component';
|
|||
selector: 'app-ad-banner',
|
||||
// #docregion ad-host
|
||||
template: `
|
||||
<div class="ad-banner">
|
||||
<div class="ad-banner-example">
|
||||
<h3>Advertisements</h3>
|
||||
<ng-template ad-host></ng-template>
|
||||
</div>
|
||||
|
|
|
@ -18,6 +18,6 @@
|
|||
color: black;
|
||||
}
|
||||
|
||||
.ad-banner {
|
||||
.ad-banner-example {
|
||||
width: 400px;
|
||||
}
|
|
@ -192,7 +192,7 @@ Here are two sample components and the `AdComponent` interface for reference:
|
|||
The final ad banner looks like this:
|
||||
|
||||
<figure>
|
||||
<img src="generated/images/guide/dynamic-component-loader/ads.gif" alt="Ads">
|
||||
<img src="generated/images/guide/dynamic-component-loader/ads-example.gif" alt="Ads">
|
||||
</figure>
|
||||
|
||||
|
||||
|
|
Before Width: | Height: | Size: 851 KiB After Width: | Height: | Size: 851 KiB |
Loading…
Reference in New Issue