From 4e3f9bca36676d27d5bd7fc88b7e94d3c2c4f873 Mon Sep 17 00:00:00 2001 From: Gauri Date: Sat, 31 Jan 2026 17:43:06 +0530 Subject: [PATCH] Enhance dashboard with advanced search, pagination and improved UX --- frontend/src/views/Dashboard.vue | 1868 +++++++++++++++++++++++------- 1 file changed, 1462 insertions(+), 406 deletions(-) diff --git a/frontend/src/views/Dashboard.vue b/frontend/src/views/Dashboard.vue index b97d90b9..2c182dd2 100644 --- a/frontend/src/views/Dashboard.vue +++ b/frontend/src/views/Dashboard.vue @@ -1,6 +1,8 @@ +@media (max-width: 576px) { + .stat-card { + flex-direction: column; + text-align: center; + } + + .stat-icon { + margin: 0 auto; + } + + .contest-tabs { + width: 100%; + } + + .contest-tabs .btn { + flex: 1; + font-size: 0.8125rem; + padding: 0.5rem; + } + + .submission-item { + padding: 1rem; + } + + .submission-title { + font-size: 0.9rem; + line-height: 1.4; + } + + .submission-date { + font-size: 0.75rem; + } + + .contest-name-badge { + width: 100%; + text-align: center; + display: block; + } + + .score-item { + padding: 0.875rem; + flex-wrap: wrap; + } + + .score-contest { + font-size: 0.875rem; + flex: 1; + min-width: 100%; + margin-bottom: 0.5rem; + } + + .score-points { + width: 100%; + text-align: center; + } +} + \ No newline at end of file