Commit 497a62947196d0e9b7257928a84cfead1a15785d

Authored by ww
1 parent ee822fd7

fix: style problem on custom build table

@@ -917,6 +917,8 @@ Menus.prototype.addInsertTableItem = function(menu, insertFn, parent, showOption @@ -917,6 +917,8 @@ Menus.prototype.addInsertTableItem = function(menu, insertFn, parent, showOption
917 for (var j = 0; j < cols; j++) 917 for (var j = 0; j < cols; j++)
918 { 918 {
919 var cell = row.insertCell(-1); 919 var cell = row.insertCell(-1);
  920 + // TODO thingsKit fix build table style problem
  921 + cell.style.padding = '8px'
920 } 922 }
921 } 923 }
922 924
@@ -1022,7 +1024,8 @@ Menus.prototype.addInsertTableItem = function(menu, insertFn, parent, showOption @@ -1022,7 +1024,8 @@ Menus.prototype.addInsertTableItem = function(menu, insertFn, parent, showOption
1022 for (var j = 0; j < r.cells.length; j++) 1024 for (var j = 0; j < r.cells.length; j++)
1023 { 1025 {
1024 var cell = r.cells[j]; 1026 var cell = r.cells[j];
1025 - 1027 + // TODO thingsKit fix build table style problem
  1028 + cell.style.padding = '8px'
1026 if (i == row2.sectionRowIndex && 1029 if (i == row2.sectionRowIndex &&
1027 j == td.cellIndex) 1030 j == td.cellIndex)
1028 { 1031 {