From 31141b36bdef39856d8ce2a3fe4da534fa0bb14c Mon Sep 17 00:00:00 2001
From: 张宇恒 <bxyun0@163.com>
Date: 星期四, 04 五月 2023 17:46:38 +0800
Subject: [PATCH] table表格td太大

---
 force-app/main/default/staticresources/RelationListPagingCmpJS.js |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/force-app/main/default/staticresources/RelationListPagingCmpJS.js b/force-app/main/default/staticresources/RelationListPagingCmpJS.js
index 2432941..0ed2bd5 100644
--- a/force-app/main/default/staticresources/RelationListPagingCmpJS.js
+++ b/force-app/main/default/staticresources/RelationListPagingCmpJS.js
@@ -400,9 +400,12 @@
             tableWidth += listColClassWidthMap[colClass] + 2 - hiddenWidth;    // 2 is border
         }
     }
-    
-    j$('table#tableData').css('width', (tableWidth + 2) + 'px');
-    j$('table#tableHeader').css('width', (tableWidth + 2) + 'px');
+    // 2023-05-04   zyh   lightning鍗囩骇   start
+    // j$('table#tableData').css('width', (tableWidth + 2) + 'px');
+    j$('table#tableData').css('width', (150) + '%');
+    // j$('table#tableHeader').css('width', (tableWidth + 2) + 'px');
+    j$('table#tableHeader').css('width', (150) + '%');
+    // 2023-05-04   zyh   lightning鍗囩骇   end
 }
 function getColClassName(pObj) {
 

--
Gitblit v1.9.1