From 71bfa3ad9b63d993242cdd8ba423f00c883c164e Mon Sep 17 00:00:00 2001 From: sebastjan Date: Mon, 31 Aug 2026 16:36:37 +0200 Subject: [PATCH] oglas v mrezi na novo fiksno Display enoto 9916590834 (300x400), da je enako visok kot kartica --- client/src/components/adsense.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/client/src/components/adsense.tsx b/client/src/components/adsense.tsx index 29b75a0..38a9145 100644 --- a/client/src/components/adsense.tsx +++ b/client/src/components/adsense.tsx @@ -136,7 +136,7 @@ export default function AdSense({ style={style || { display: "block" }} data-ad-client="ca-pub-4465464714854276" data-ad-slot={slot} - data-ad-format={format} + {...(format ? { "data-ad-format": format } : {})} data-full-width-responsive={responsive ? "true" : "false"} {...(layout ? { "data-ad-layout": layout } : {})} {...(layoutKey ? { "data-ad-layout-key": layoutKey } : {})} @@ -160,13 +160,14 @@ export function ArticleCardAd() { // Vzorec z imeni izvajalcev je bil pod oglasom viden kot prazna grafika, // ker je fluid enota nizja od celice. Zdaj je okvir samo okoli oglasa in // se skrci na njegovo visino. -
+ // 31. 8. 2026: fiksna Display enota 300x400, ki jo je Sebastjan naredil + // posebej za mrezo. Fluid In-feed (3854634730) si je visino racunal sam in + // se ustavil pri 258 px, zato je pod njim ostajala luknja. +