🎨 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.
This commit is contained in:
Apple\Apple
2025-06-07 21:03:16 +08:00
parent 4c1f341226
commit e8f78c739c
2 changed files with 2 additions and 0 deletions

View File

@@ -462,6 +462,7 @@ const LogsTable = () => {
percent={text ? parseInt(text.replace('%', '')) : 0}
showInfo={true}
aria-label='drawing progress'
style={{ minWidth: '200px' }}
/>
}
</div>

View File

@@ -395,6 +395,7 @@ const LogsTable = () => {
percent={text ? parseInt(text.replace('%', '')) : 0}
showInfo={true}
aria-label='task progress'
style={{ minWidth: '200px' }}
/>
)
}