diff options
author | Biswakalyan Bhuyan <biswa@surgot.in> | 2024-08-03 17:24:35 +0530 |
---|---|---|
committer | Biswakalyan Bhuyan <biswa@surgot.in> | 2024-08-03 17:24:35 +0530 |
commit | 2843285c5d4c995841d4ba5b0aee8fb0458f5d49 (patch) | |
tree | 18175a01ed391203dc684954ebb7431a6933af92 /panel/src/pages | |
parent | b536e7cf8e5a5eddd31bda00d1cab0ea2a907c61 (diff) | |
download | admin-panel-2843285c5d4c995841d4ba5b0aee8fb0458f5d49.tar.gz admin-panel-2843285c5d4c995841d4ba5b0aee8fb0458f5d49.tar.bz2 admin-panel-2843285c5d4c995841d4ba5b0aee8fb0458f5d49.zip |
Fixed responsiveness of Navbar and Dashboard
Diffstat (limited to 'panel/src/pages')
-rw-r--r-- | panel/src/pages/Dashboard.css | 15 |
1 files changed, 12 insertions, 3 deletions
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; + } } |