diff --git a/src/__pycache__/web_dashboard.cpython-310.pyc b/src/__pycache__/web_dashboard.cpython-310.pyc index 2a3021e..3c88d97 100644 Binary files a/src/__pycache__/web_dashboard.cpython-310.pyc and b/src/__pycache__/web_dashboard.cpython-310.pyc differ diff --git a/src/web_dashboard.py b/src/web_dashboard.py index 7ec4782..c4dcf03 100644 --- a/src/web_dashboard.py +++ b/src/web_dashboard.py @@ -258,7 +258,7 @@ html_content = """ .metrics-grid { display: grid; - grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; } @@ -387,7 +387,18 @@ html_content = """ padding-top: 20px; border-top: 1px solid #2a2a2a; } - + + @media (max-width: 1200px) { + .metrics-grid { + grid-template-columns: repeat(2, 1fr); + } + } + @media (max-width: 768px) { + .metrics-grid { + grid-template-columns: 1fr; + } + } +