fix: TUI 进度条宽度自适应屏幕 (CSS width 100%)

This commit is contained in:
AskaEth committed 2026-08-22 13:31:13 +08:00
1 parent 5b8160358e
commit 60021ef1e6
1 file changed
+1
+1
View File
@@ -698,6 +698,7 @@ from textual.widgets import (Footer, Header, Input, ProgressBar, RichLog,
TUI_CSS = """
Screen { layout: vertical; }
#top { height: 7; border: round $primary; padding: 0 1; }
#total-bar, #file-bar { width: 100%; }
#stats-line { height: 1; content-align: left middle; }
#chart-box { height: 6; border: round $secondary; padding: 0 1; }
#speed-stats { height: 1; color: $text-muted; }