fix: move sweep shimmer to busy cards only, remove panel-wide sweep

This commit is contained in:
Aisland
2026-08-21 14:04:26 +08:00
parent fd03ef6cc6
commit d4d1cc1f49
4 changed files with 25 additions and 7 deletions
+1
View File
@@ -1060,6 +1060,7 @@ function ConsolePane() {
<span className={'dsh-wt_consoleStatus dsh-wt_consoleStatus-' + c.status}>{statusLabel[c.status]}</span>
{c.runtimeMs != null && <span className="dsh-wt_consoleRuntime">{fmtDur(c.runtimeMs)}</span>}
</div>
{c.status === 'busy' && <span className="dsh-wt_consoleSweep" aria-hidden />}
<div className={'dsh-wt_consolePreview' + (c.preview ? '' : ' dsh-wt_consolePreviewNone')} title={c.preview}>
{c.preview || (c.bound ? T('console.noPreview') : T('console.unboundShort'))}
</div>