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
|
})
|