From e8f78c739c2186c5a448b3869cc437c7a220e184 Mon Sep 17 00:00:00 2001 From: "Apple\\Apple" Date: Sat, 7 Jun 2025 21:03:16 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20feat(UI):=20add=20minimum=20widt?= =?UTF-8?q?h=20to=20progress=20bars=20in=20log=20tables?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Set a minimum width of 200px for progress components in both MjLogsTable.js and TaskLogsTable.js to ensure consistent display and prevent them from becoming too narrow when table resizes. --- web/src/components/table/MjLogsTable.js | 1 + web/src/components/table/TaskLogsTable.js | 1 + 2 files changed, 2 insertions(+) diff --git a/web/src/components/table/MjLogsTable.js b/web/src/components/table/MjLogsTable.js index 646435d4..48513eb1 100644 --- a/web/src/components/table/MjLogsTable.js +++ b/web/src/components/table/MjLogsTable.js @@ -462,6 +462,7 @@ const LogsTable = () => { percent={text ? parseInt(text.replace('%', '')) : 0} showInfo={true} aria-label='drawing progress' + style={{ minWidth: '200px' }} /> } diff --git a/web/src/components/table/TaskLogsTable.js b/web/src/components/table/TaskLogsTable.js index 359d2462..4e329d29 100644 --- a/web/src/components/table/TaskLogsTable.js +++ b/web/src/components/table/TaskLogsTable.js @@ -395,6 +395,7 @@ const LogsTable = () => { percent={text ? parseInt(text.replace('%', '')) : 0} showInfo={true} aria-label='task progress' + style={{ minWidth: '200px' }} /> ) }