web-component-gallery 2.3.22 → 2.3.23

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.
@@ -186,8 +186,8 @@ const DescriptionsList = {
186
186
 
187
187
  // 设置固定标签宽度
188
188
  this.setStyle(label, { width: `${this.labelWidth}px`, minWidth: `${this.labelWidth}px`, maxWidth: `${this.labelWidth}px` })
189
- // 设置自适应内容宽度
190
- this.setStyle(contents[index], { width: `${contentWidth}px`, minWidth: `${contentWidth}px`, maxWidth: `${contentWidth}px` })
189
+ // 设置自适应内容宽度 (table-layout: auto; 自适应情况下不需要设置内容宽度)
190
+ // this.setStyle(contents[index], { width: `${contentWidth}px`, minWidth: `${contentWidth}px`, maxWidth: `${contentWidth}px` })
191
191
 
192
192
  itemCount++
193
193
  })
@@ -25,6 +25,9 @@
25
25
 
26
26
  .ant-descriptions-item-content {
27
27
  word-wrap: break-word;
28
+ word-break: break-all;
29
+ overflow-wrap: anywhere;
30
+ max-width: 0;
28
31
 
29
32
  .Browse {
30
33
  align-items: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-component-gallery",
3
- "version": "2.3.22",
3
+ "version": "2.3.23",
4
4
  "description": "基础vue、antdvue、less实现的私有组件库",
5
5
  "main": "dist/index.umd.js",
6
6
  "files": [