koishi-plugin-group-analysis-mx 1.5.5 → 1.5.6

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.
@@ -235,7 +235,8 @@ class RendererService extends koishi_1.Service {
235
235
  const chipNames = [...nameAvatar.keys()].filter((n) => n && n.length >= 2).sort((x, y) => y.length - x.length);
236
236
  const chipOf = (name) => {
237
237
  const av = nameAvatar.get(name);
238
- return '<span class="topic-user">' + (av ? '<img src="' + av + '" alt="">' : '') + name + '</span>';
238
+ const img = av ? '<img src="' + av + '" alt="" style="width:1.15em;height:1.15em;border-radius:50%;object-fit:cover;vertical-align:middle;display:inline-block;margin-right:4px">' : '';
239
+ return '<span class="topic-user" style="display:inline-flex;align-items:center;background:rgba(0,0,0,.05);border-radius:6px;padding:0 6px;font-size:.92em;vertical-align:middle">' + img + name + '</span>';
239
240
  };
240
241
  data = {
241
242
  ...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.5.5",
4
+ "version": "1.5.6",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.mjs",
7
7
  "typings": "lib/index.d.ts",
@@ -48,3 +48,4 @@
48
48
  }
49
49
  }
50
50
 
51
+