nodebb-plugin-ezoic-infinite 1.8.25 → 1.8.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/public/style.css +10 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-ezoic-infinite",
3
- "version": "1.8.25",
3
+ "version": "1.8.26",
4
4
  "description": "Production-ready Ezoic infinite ads integration for NodeBB 4.x",
5
5
  "main": "library.js",
6
6
  "license": "MIT",
package/public/style.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * NodeBB Ezoic Infinite Ads — style.css (v20)
2
+ * NodeBB Ezoic Infinite Ads — style.css (v20.1)
3
3
  */
4
4
 
5
5
  /* ── Wrapper ──────────────────────────────────────────────────────────────── */
@@ -22,11 +22,10 @@
22
22
 
23
23
  /* ── Ciblage précis des nœuds Ezoic dans nos wraps ───────────────────────── */
24
24
 
25
- /* Supprime le gap "baseline" sous les iframes */
25
+ /* Supprime le gap "baseline" sous les iframes (via block + line-height/font-size) */
26
26
  .nodebb-ezoic-wrap iframe,
27
27
  .nodebb-ezoic-wrap div[id$="__container__"] iframe {
28
28
  display: block !important;
29
- vertical-align: top !important;
30
29
  line-height: 0 !important;
31
30
  font-size: 0 !important;
32
31
  }
@@ -34,15 +33,18 @@
34
33
  .nodebb-ezoic-wrap div[id$="__container__"] {
35
34
  display: block !important;
36
35
  line-height: 0 !important;
36
+ font-size: 0 !important;
37
37
  }
38
38
 
39
- /* Écrase la réserve 400px inline qu'Ezoic injecte */
39
+ /* Ne pas écraser la hauteur réelle calculée par Ezoic */
40
40
  .nodebb-ezoic-wrap .ezoic-ad,
41
41
  .nodebb-ezoic-wrap span.ezoic-ad {
42
+ display: block !important;
42
43
  margin: 0 !important;
43
44
  padding: 0 !important;
44
- min-height: 1px !important;
45
45
  height: auto !important;
46
+ min-height: unset !important;
47
+ max-height: none !important;
46
48
  }
47
49
 
48
50
  /* Reportline en absolu pour ne pas impacter le layout */
@@ -58,8 +60,8 @@
58
60
 
59
61
  /* ── État vide ────────────────────────────────────────────────────────────── */
60
62
  /*
61
- Ajouté 20s après showAds si aucun fill détecté.
62
- Collapse à 1px : réserve minimale demandée, reste observable par l'IO.
63
+ Ajouté après le délai d'empty-check si aucun fill détecté.
64
+ Collapse à 1px : réserve minimale, reste observable par l'IO.
63
65
  */
64
66
  .nodebb-ezoic-wrap.is-empty {
65
67
  display: block !important;
@@ -75,4 +77,4 @@
75
77
  .ezoic-ad {
76
78
  margin: 0 !important;
77
79
  padding: 0 !important;
78
- }
80
+ }