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:
parent
430cf0377b
commit
7354a29995
BIN
attached_assets/image_1772386725660.png
Normal file
BIN
attached_assets/image_1772386725660.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 80 KiB |
@ -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>
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user