pollcatch 2.1.8 → 2.1.10

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/pc.js +2 -2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pollcatch",
3
3
  "private": false,
4
- "version": "2.1.8",
4
+ "version": "2.1.10",
5
5
  "type": "module",
6
6
  "main": "pc.js",
7
7
  "module": "pc.js",
package/pc.js CHANGED
@@ -3620,7 +3620,7 @@ const Vo = F`
3620
3620
  /* Icon styling */
3621
3621
  .icon {
3622
3622
  display: inline-block;
3623
- line-height: 1.2;
3623
+ line-height: 1;
3624
3624
  transition:
3625
3625
  color 0.3s,
3626
3626
  transform 0.3s;
@@ -4007,7 +4007,7 @@ let q = class extends b {
4007
4007
  };
4008
4008
  if (this.compact) {
4009
4009
  const t = this.options.filter(
4010
- (o) => this.getReactionCount(o.value) > 0
4010
+ (o) => this.dataController.isValueSelected(o.value)
4011
4011
  );
4012
4012
  return d`
4013
4013
  <div class="${w(e)}">