pollcatch 2.1.6 → 2.1.8
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/package.json +1 -1
- package/pc.js +6 -3
package/package.json
CHANGED
package/pc.js
CHANGED
|
@@ -1060,6 +1060,8 @@ function dt(e) {
|
|
|
1060
1060
|
const t = e.trim();
|
|
1061
1061
|
if (t.length === 0)
|
|
1062
1062
|
return !1;
|
|
1063
|
+
if (t.startsWith("/") || t.startsWith("./"))
|
|
1064
|
+
return !0;
|
|
1063
1065
|
try {
|
|
1064
1066
|
return t.startsWith("//") ? (new URL(`http:${t}`), !0) : (new URL(t), !0);
|
|
1065
1067
|
} catch {
|
|
@@ -1989,7 +1991,7 @@ const To = F`
|
|
|
1989
1991
|
display: flex;
|
|
1990
1992
|
flex-wrap: wrap;
|
|
1991
1993
|
gap: clamp(0.15em, 0.2em + 0.1vw, 0.35em);
|
|
1992
|
-
justify-content: center;
|
|
1994
|
+
/* justify-content: center; */
|
|
1993
1995
|
align-items: center;
|
|
1994
1996
|
}
|
|
1995
1997
|
|
|
@@ -2194,7 +2196,6 @@ const To = F`
|
|
|
2194
2196
|
.pc-body {
|
|
2195
2197
|
display: flex;
|
|
2196
2198
|
flex-wrap: wrap;
|
|
2197
|
-
gap: var(--pc-control-spacing, var(--default-control-spacing));
|
|
2198
2199
|
}
|
|
2199
2200
|
|
|
2200
2201
|
.pc-section {
|
|
@@ -2301,6 +2302,7 @@ const To = F`
|
|
|
2301
2302
|
justify-content: space-between;
|
|
2302
2303
|
width: 100%;
|
|
2303
2304
|
gap: 0.5em;
|
|
2305
|
+
margin-top: var(--pc-control-spacing, var(--default-control-spacing));
|
|
2304
2306
|
}
|
|
2305
2307
|
|
|
2306
2308
|
.pc-footer .pc-status {
|
|
@@ -3522,6 +3524,7 @@ const Vo = F`
|
|
|
3522
3524
|
/* Adjust stats text for reactions */
|
|
3523
3525
|
.pc-stats-text {
|
|
3524
3526
|
font-size: var(--pc-font-size-small, var(--default-font-size-small));
|
|
3527
|
+
line-height: 100%;
|
|
3525
3528
|
margin: 0 0.3em;
|
|
3526
3529
|
opacity: 0.8;
|
|
3527
3530
|
}
|
|
@@ -3856,7 +3859,7 @@ const Vo = F`
|
|
|
3856
3859
|
};
|
|
3857
3860
|
function Ce(e) {
|
|
3858
3861
|
let t = "❓", o = !1;
|
|
3859
|
-
return e ? e in se ? t = se[e] : ve(e) ? t = e : dt(e) ? (o = !0, t = e) : /^\w+@\w+$/.test(e) ? t = e : e.endsWith(".svg") ? (t = `https://cdn.jsdelivr.net/npm/@mdi/svg@7.4.47/svg/${e}`, o = !0) : t = e : t = "❓", {
|
|
3862
|
+
return e ? e in se ? t = se[e] : ve(e) ? t = e : dt(e) ? (o = !0, t = e) : /^\w+@\w+$/.test(e) ? t = e : e.endsWith(".svg") && !e.includes("/") ? (t = `https://cdn.jsdelivr.net/npm/@mdi/svg@7.4.47/svg/${e}`, o = !0) : t = e : t = "❓", {
|
|
3860
3863
|
icon: t,
|
|
3861
3864
|
isRemoteImage: o
|
|
3862
3865
|
};
|