Improve how advertisements are displayed on the website

Remove fixed minimum height and flexible sizing from the ad component to ensure it correctly adapts to the ad content and prevents blank space.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 517dfa7b-26ac-463d-a6e1-a58c6df97188
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 1c4e7c16-bbd9-40a8-ab8f-81a26c87c474
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/517dfa7b-26ac-463d-a6e1-a58c6df97188/ls5p9ni
Replit-Helium-Checkpoint-Created: true
This commit is contained in:
sebastjanartic 2026-03-01 17:39:18 +00:00
parent 430cf0377b
commit 7354a29995
2 changed files with 1 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

View File

@ -79,13 +79,12 @@ export default function AdSense({
export function ArticleCardAd() {
return (
<div className="bg-card rounded-md border border-card-border h-full flex flex-col overflow-hidden">
<div className="bg-card rounded-md border border-card-border overflow-hidden">
<AdSense
slot="3854634730"
format="fluid"
layoutKey="-7o+et-x-1e+6a"
style={{ display: "block" }}
className="flex-1 min-h-[280px]"
/>
</div>
);