Merge branch 'sprint/247_wangzemei_fixwidth' into 'master'

* Solved the problem of calculating the width of the table header

See merge request easycorp/zentaopms!5817
This commit is contained in:
李玉春
2022-10-20 01:57:24 +00:00
+1 -1
View File
@@ -11,7 +11,7 @@ $(function()
var $title = $('#storyList thead th.c-title');
var headerWidth = $('#storyList thead th.c-title a').innerWidth();
var buttonWidth = $('#storyList thead th.c-title button').innerWidth();
if($title.width() < headerWidth + buttonWidth + 2) $title.width(headerWidth + buttonWidth + 30);
if($title.width() < headerWidth + buttonWidth + 16) $title.width(headerWidth + buttonWidth + 30);
});
$('#storyList td.has-child .story-toggle').each(function()