From 2843285c5d4c995841d4ba5b0aee8fb0458f5d49 Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Sat, 3 Aug 2024 17:24:35 +0530 Subject: Fixed responsiveness of Navbar and Dashboard --- panel/src/pages/Dashboard.css | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'panel/src/pages') diff --git a/panel/src/pages/Dashboard.css b/panel/src/pages/Dashboard.css index 024df9b..49a11ed 100644 --- a/panel/src/pages/Dashboard.css +++ b/panel/src/pages/Dashboard.css @@ -19,7 +19,7 @@ .dashboard-header { text-align: center; - margin-bottom: 30px; + margin-bottom: 10px; } .dashboard-header h4 { @@ -43,6 +43,7 @@ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } + .stat-card h6 { font-size: 16px; color: #666; @@ -55,10 +56,18 @@ } .chart-container { - margin-top: 30px; + margin-top: 20px; } .chart-container canvas { width: 100% !important; - height: 400px !important; + height: 100% !important; +} + +@media (max-width: 768px) { + .stat-card { + margin: 0px 4px; + padding: 10px; + text-align: center; + } } -- cgit v1.2.3-59-g8ed1b