@gis_victory/ai-chat 1.0.2 → 1.0.4

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/dist/ai-chat.css +2 -2
  2. package/package.json +1 -1
package/dist/ai-chat.css CHANGED
@@ -85,7 +85,7 @@
85
85
  display: flex;
86
86
  flex-direction: column;
87
87
  transform-origin: bottom right;
88
- height: 60vh;
88
+ max-height: 60%;
89
89
  /* 固定高度,避免内容撑开 */
90
90
  scrollbar-width: none;
91
91
  -ms-overflow-style: none;
@@ -268,7 +268,6 @@
268
268
  overflow: hidden;
269
269
  display: flex;
270
270
  flex-direction: column;
271
- padding: 0 25px;
272
271
  /* 用于遮挡滚动条上下箭头 */
273
272
  position: relative;
274
273
  }
@@ -277,6 +276,7 @@
277
276
  display: flex;
278
277
  flex-direction: column;
279
278
  height: 100%;
279
+ padding: 0 25px !important;
280
280
  /* 消息较少时靠下对齐,符合聊天习惯 */
281
281
  justify-content: flex-end;
282
282
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gis_victory/ai-chat",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "AI Chat Panel component for Vue 3",
5
5
  "type": "module",
6
6
  "main": "./dist/ai-chat.mjs",