Fix ad display issues and improve spacing on blog posts

Update the `ArticleCardAd` component in `client/src/components/adsense.tsx` to revert styling changes that caused a large black background and incorrect spacing for ads, ensuring a consistent grey appearance and proper layout.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 517dfa7b-26ac-463d-a6e1-a58c6df97188
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: bee731b1-1b40-43bc-9106-ad35855145d9
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/517dfa7b-26ac-463d-a6e1-a58c6df97188/nFw7xof
Replit-Helium-Checkpoint-Created: true
This commit is contained in:
sebastjanartic 2026-03-02 18:12:25 +00:00
parent c4da507bc9
commit 217ee879e8

View File

@ -79,12 +79,12 @@ export default function AdSense({
export function ArticleCardAd() {
return (
<div className="bg-card rounded-md border border-card-border overflow-hidden h-full min-h-[200px] flex flex-col">
<div className="bg-card rounded-md border border-card-border overflow-hidden h-full">
<AdSense
slot="3854634730"
format="fluid"
layoutKey="-6r+cy-10+8a-3"
style={{ display: "block", flex: "1" }}
style={{ display: "block" }}
/>
</div>
);