From 5233ec969c8b877bf89710aef5c62904dd7ee9af Mon Sep 17 00:00:00 2001 From: wangzemei Date: Thu, 20 Oct 2022 08:58:49 +0800 Subject: [PATCH] * Solved the problem of calculating the width of the table header --- module/product/js/browse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/product/js/browse.js b/module/product/js/browse.js index e4e9e68bb2..0a979fd7bb 100644 --- a/module/product/js/browse.js +++ b/module/product/js/browse.js @@ -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()