瀏覽代碼

🎨 feat(UI): add minimum width to progress bars in log tables

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.
Apple\Apple 11 月之前
父節點
當前提交
91fd8b3762
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      web/src/components/table/MjLogsTable.js
  2. 1 0
      web/src/components/table/TaskLogsTable.js

+ 1 - 0
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' }}
               />
             }
           </div>

+ 1 - 0
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' }}
                 />
               )
             }