File tree Expand file tree Collapse file tree 3 files changed +8
-11
lines changed Expand file tree Collapse file tree 3 files changed +8
-11
lines changed Original file line number Diff line number Diff line change 55 <ScriptLoader Async =" true"
66 Class =" @Class"
77 ScriptId =" _carbonads_js"
8- Source =" //cdn.carbonads.com/carbon.js?serve=CWYICKQU &placement=docsblazorbootstrapcom&format=cover" />
8+ Source =" //cdn.carbonads.com/carbon.js?serve=CW7ILK7W &placement=docsblazorbootstrapcom&format=cover" />
99}
Original file line number Diff line number Diff line change @@ -177,10 +177,10 @@ h1:focus-visible {
177177 background-color : transparent
178178}
179179
180- .bd-masthead # carbonads {
180+ /* .bd-masthead #carbonads {
181181 margin-right: auto;
182182 margin-left: auto
183- }
183+ }*/
184184
185185@media (min-width : 768px ) {
186186 .bd-masthead .lead {
@@ -404,7 +404,7 @@ pre[class*=language-] {
404404}
405405
406406/* carbon ads */
407- # carbonads {
407+ /* #carbonads {
408408 position: static;
409409 display: block;
410410 max-width: 400px;
@@ -437,7 +437,7 @@ pre[class*=language-] {
437437 display: block;
438438 margin-top: .75rem;
439439 color: var(--bs-body-color) !important
440- }
440+ }*/
441441
442442.bg-body-tertiary {
443443 --bs-bg-opacity : 1 ;
Original file line number Diff line number Diff line change @@ -5,9 +5,10 @@ class CarbonAd extends Component {
55 super ( props ) ;
66
77 this . name = this . props . name || "docsblazorbootstrapcom" ;
8- this . serve = this . props . serve || "CWYICKJI " ;
8+ this . serve = this . props . serve || "CW7ILK7W " ;
99 this . script = this . props . script || null ;
1010 this . placement = this . props . placement || "" ;
11+ this . format = this . props . format || "cover" ;
1112 this . fallback = this . props . fallback || null ;
1213 this . showFallback = false ;
1314 }
@@ -20,11 +21,7 @@ class CarbonAd extends Component {
2021 script . async = true ;
2122 script . id = this . script ? "" : "_carbonads_js" ;
2223 script . type = "text/javascript" ;
23- script . src =
24- this . script ||
25- `//cdn.carbonads.com/carbon.js?serve=${ this . serve } &placement=${
26- this . placement
27- } `;
24+ script . src = this . script || `//cdn.carbonads.com/carbon.js?serve=${ this . serve } &placement=${ this . placement } &format=${ this . format } ` ;
2825 script . onerror = ( ) => {
2926 this . showFallback = true ;
3027 this . forceUpdate ( ) ;
You can’t perform that action at this time.
0 commit comments