nodebb-plugin-ezoic-infinite 1.5.16 → 1.5.17
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.
- package/library.js +0 -1
- package/package.json +1 -1
- package/public/style.css +3 -21
package/library.js
CHANGED
|
@@ -71,7 +71,6 @@ async function isUserExcluded(uid, excludedGroups) {
|
|
|
71
71
|
return (userGroups[0] || []).some(g => excludedGroups.includes(g.name));
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
|
|
75
74
|
plugin.onSettingsSet = function (data) {
|
|
76
75
|
// Invalider le cache dès que les settings de ce plugin sont sauvegardés via l'ACP
|
|
77
76
|
if (data && data.hash === SETTINGS_KEY) {
|
package/package.json
CHANGED
package/public/style.css
CHANGED
|
@@ -1,21 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
.ezoic-ad {
|
|
3
|
-
|
|
4
|
-
width: 100%;
|
|
5
|
-
margin: 0 !important;
|
|
6
|
-
padding: 0 !important;
|
|
7
|
-
overflow: hidden;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ezoic-ad > [id^="ezoic-pub-ad-placeholder-"] {
|
|
11
|
-
margin: 0 !important;
|
|
12
|
-
padding: 0 !important;
|
|
13
|
-
min-height: 1px; /* keeps placeholder measurable for IO */
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/* Ezoic sometimes wraps in extra spans/divs with margins */
|
|
17
|
-
.ezoic-ad span.ezoic-ad,
|
|
18
|
-
.ezoic-ad .ezoic-ad {
|
|
19
|
-
margin: 0 !important;
|
|
20
|
-
padding: 0 !important;
|
|
21
|
-
}
|
|
1
|
+
.ezoic-ad{height:auto !important; padding:0 !important; margin: 0.25rem 0;}
|
|
2
|
+
.ezoic-ad .ezoic-ad-inner{padding:0;margin:0;}
|
|
3
|
+
.ezoic-ad .ezoic-ad-inner > div{padding:0;margin:0;}
|