Update ad format to thinner, horizontal display
Adjust InArticleAd component in adsense.tsx to use a horizontal format with a fixed height of 90px, replacing the previous fluid layout. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 23852c00-4779-460a-9e0c-d09fee4b6c92 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 63611130-b6ba-4818-b721-a1dc70a62d89 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/23852c00-4779-460a-9e0c-d09fee4b6c92/OPD8Ro3 Replit-Helium-Checkpoint-Created: true
This commit is contained in:
parent
f3c4b7c74c
commit
57d7e80aa7
BIN
attached_assets/image_1772953908836.png
Normal file
BIN
attached_assets/image_1772953908836.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 113 KiB |
@ -96,13 +96,13 @@ export function ArticleCardAd() {
|
||||
|
||||
export function InArticleAd() {
|
||||
return (
|
||||
<div className="my-8 py-4 border-y border-border/30">
|
||||
<div className="text-[10px] text-muted-foreground/40 text-center mb-2 uppercase tracking-widest">Anzeige</div>
|
||||
<div className="my-6 rounded-md overflow-hidden bg-card border border-card-border">
|
||||
<div className="text-[9px] text-muted-foreground/40 text-center pt-1 uppercase tracking-widest">Anzeige</div>
|
||||
<AdSense
|
||||
slot="4154017639"
|
||||
format="fluid"
|
||||
layout="in-article"
|
||||
style={{ display: "block", textAlign: "center" }}
|
||||
format="horizontal"
|
||||
style={{ display: "block", width: "100%", height: "90px" }}
|
||||
responsive={false}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user