From 0b8b868a08561b88170464cae68a94632f978294 Mon Sep 17 00:00:00 2001 From: Diyar Akhgar Date: Mon, 2 Jun 2025 23:39:51 +0330 Subject: [PATCH] responsive index --- xroom-dashboard/src/App.vue | 33 +- xroom-dashboard/src/pages/dashboard/index.vue | 847 ++++++++++++------ 2 files changed, 582 insertions(+), 298 deletions(-) diff --git a/xroom-dashboard/src/App.vue b/xroom-dashboard/src/App.vue index 4dbd423..6e4c36a 100644 --- a/xroom-dashboard/src/App.vue +++ b/xroom-dashboard/src/App.vue @@ -117,6 +117,7 @@ router-view { .content { padding: 5px 15px !important; + gap: 0; } } @@ -127,7 +128,9 @@ router-view { } .content { - padding: 35px 15px !important; + padding: 0px 15px !important; + padding-bottom: 45px !important; + gap: 0; } } @@ -140,10 +143,35 @@ router-view { .content { padding: 15px 45px 45px 0 !important; + gap: 0; } } -@media (min-width: 1025px) { +@media (min-width: 1024px) and (max-width: 1280px) { + .dashboard-page { + margin-right: 20rem; + padding: 20px; + direction: rtl; + } + + .content { + padding: 35px 45px !important; + } +} + +@media (min-width: 1280px) and (max-width : 1440px){ + .dashboard-page { + margin-right: 20rem; + padding: 20px; + direction: rtl; + } + + .content { + padding: 35px 45px !important; + } +} + +@media (min-width: 1440px){ .dashboard-page { margin-right: 20rem; padding: 20px; @@ -154,5 +182,4 @@ router-view { padding: 35px 80px !important; } } - \ No newline at end of file diff --git a/xroom-dashboard/src/pages/dashboard/index.vue b/xroom-dashboard/src/pages/dashboard/index.vue index 82c72af..e83aa77 100644 --- a/xroom-dashboard/src/pages/dashboard/index.vue +++ b/xroom-dashboard/src/pages/dashboard/index.vue @@ -1,162 +1,230 @@ \ No newline at end of file