koishi-plugin-group-analysis-mx 1.7.5 → 1.7.7

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.
@@ -261,7 +261,7 @@ class RendererService extends koishi_1.Service {
261
261
  const avatar = String(entry.avatar || DEFAULT_AVATAR).replace(/"/g, '"');
262
262
  const image = '<img src="' + avatar + '" alt="" style="width:18px;height:18px;border-radius:50%;margin-right:4px;display:block;flex-shrink:0">';
263
263
  // Copy original capsule metrics exactly to keep avatar/name vertically centered on the text baseline.
264
- return '<span style="display:inline-flex;align-items:center;background:rgba(0,0,0,0.05);padding:2px 6px 2px 2px;border-radius:12px;margin:0 2px;vertical-align:middle;border:1px solid rgba(0,0,0,0.1);text-decoration:none;line-height:1">' + image + '<span style="font-size:0.85em;color:inherit;font-weight:500;line-height:1">' + name + '</span></span>';
264
+ return '<span style="display:inline-flex;align-items:center;background:rgba(0,0,0,0.05);padding:2px 6px 2px 2px;border-radius:12px;margin:0 2px;vertical-align:middle;position:relative;top:-0.12em;border:1px solid rgba(0,0,0,0.1);text-decoration:none">' + image + '<span style="font-size:0.85em;color:inherit;font-weight:500;line-height:1">' + name + '</span></span>';
265
265
  };
266
266
  data = {
267
267
  ...data,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-group-analysis-mx",
3
3
  "description": "群聊分析插件 - 生成精美群聊统计报告,支持 AI 话题总结(独立版,不依赖 ChatLuna)",
4
- "version": "1.7.5",
4
+ "version": "1.7.7",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.mjs",
7
7
  "typings": "lib/index.d.ts",
@@ -47,18 +47,18 @@
47
47
  }
48
48
  }
49
49
  }
50
-
51
-
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
-
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+
64
+
@@ -432,7 +432,7 @@ body {
432
432
  color: #666;
433
433
  font-size: 1.2rem;
434
434
  margin-top: 8px;
435
- line-height: 1.4;
435
+ line-height: 1.5;
436
436
  }
437
437
 
438
438
  /* ==================== 6. 群友画像 ==================== */