yt-chat-components 2.0.9 → 2.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yt-chat-components",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "main": "build/static/js/bundle.min.js",
5
5
  "module": "build/static/js/bundle.min.js",
6
6
  "types": "build/static/js/index.d.ts",
@@ -150,14 +150,10 @@ const style = `
150
150
  }
151
151
 
152
152
  .p_historyDialog .p_historyListEmpty {
153
- position: absolute;
154
- top: 50%;
155
- left: 50%;
156
- transform: translate(-50%, -50%);
153
+ margin-top:80px;
157
154
  text-align: center;
158
155
  font-size: 12px;
159
156
  color: #999999;
160
- max-height: calc(100% - 1.7rem);
161
157
 
162
158
  }
163
159
 
@@ -644,7 +640,7 @@ export class ToolDialogV3 extends React.Component {
644
640
  </div>
645
641
  ) : (
646
642
  <div className="p_historyListEmpty">
647
- <img src={historyListEmptyPng}/>
643
+ <img style={{ width: '160px' }} src={historyListEmptyPng}/>
648
644
  <div className="p_historyListEmptyText">暂无对话记录</div>
649
645
  </div>
650
646
  )}