From 733e35b0d2e5b303450c957e97c2b8d0634fde65 Mon Sep 17 00:00:00 2001 From: Kharec Date: Mon, 19 Jan 2026 14:41:01 +0100 Subject: [PATCH] fix: constrain progress bar width --- auditui/constants.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/auditui/constants.py b/auditui/constants.py index 3c1bea6..3592540 100644 --- a/auditui/constants.py +++ b/auditui/constants.py @@ -105,6 +105,14 @@ Static#progress_info { text-style: bold; margin: 0; padding: 0; + text-align: center; + width: 100%; +} + +#progress_bar_container { + align: center middle; + width: 100%; + height: 1; } ProgressBar#progress_bar { @@ -112,8 +120,10 @@ ProgressBar#progress_bar { background: #10131f; border: none; margin: 0; - padding: 0 1; - align: center middle; + padding: 0; + width: auto; + min-width: 40; + max-width: 80; } ProgressBar#progress_bar > .progress-bar--track {