fix: 进度条(Bar)宽度弹性占满剩余空间, 随屏幕自适应
This commit is contained in:
1 parent
60021ef1e6
commit
b204de7aeb
1 file changed
+1
@@ -699,6 +699,7 @@ TUI_CSS = """
|
||||
Screen { layout: vertical; }
|
||||
#top { height: 7; border: round $primary; padding: 0 1; }
|
||||
#total-bar, #file-bar { width: 100%; }
|
||||
#total-bar Bar, #file-bar Bar { width: 1fr; }
|
||||
#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; }
|
||||
|
||||
Reference in new issue
Block a user