From b271286b05373b94f73c4fba20a8805d7bc80af5 Mon Sep 17 00:00:00 2001 From: emmanuel Date: Tue, 12 Sep 2023 11:31:20 +0000 Subject: [PATCH] CLASSROOMIO-T-145: Made the updates to the UI of the dashboard CLASSROOMIO-T-145: Changed the classname Merge branch 'main' into CLASSROOMIO-T-145 Merge branch 'main' into CLASSROOMIO-T-145 CLASSROOMIO-T-145:updates CLASSROOMIO-T-145:Fixed the hamburger display for the lms CLASSROOMIO-T-145:Fixed the extra scroll on the LMS CLASSROOMIO-T-145:Made the Updates to the UI CLASSROOMIO-T-145:Made the Updates to the UI Co-authored-by: Ifeanyi Nwosu Merge-request: CLASSROOMIO-MR-70 Merged-by: Best Admin --- src/app.postcss | 4 ++- src/lib/components/Courses/index.svelte | 5 +-- src/lib/components/LMS/SideBar.svelte | 6 ++-- src/lib/components/Navigation/app.svelte | 25 +++++++------- src/lib/components/Navigation/lms.svelte | 8 ++--- src/lib/components/Org/Quiz/QuizCard.svelte | 2 +- src/lib/components/Org/SideBar.svelte | 6 ++-- src/routes/+layout.svelte | 5 +-- src/routes/org/[slug]/+page.svelte | 38 ++++++++------------- 9 files changed, 47 insertions(+), 52 deletions(-) diff --git a/src/app.postcss b/src/app.postcss index 005cb883..c0a32d14 100644 --- a/src/app.postcss +++ b/src/app.postcss @@ -18,7 +18,9 @@ html { scrollbar-width: thin; scrollbar-color: var(--thumbBG) var(--scrollbarBG); } - +html .dark { + --scrollbarBG: #1f2937; +} *::-webkit-scrollbar { width: 10px; height: 10px; diff --git a/src/lib/components/Courses/index.svelte b/src/lib/components/Courses/index.svelte index 2ff5b159..f08625ab 100644 --- a/src/lib/components/Courses/index.svelte +++ b/src/lib/components/Courses/index.svelte @@ -1,10 +1,11 @@ - @@ -41,7 +42,7 @@ {/each} {/if} -{#if !$courses.length} +{#if !$courseMetaDeta.isLoading && !$courses.length}

No Courses Created

diff --git a/src/lib/components/LMS/SideBar.svelte b/src/lib/components/LMS/SideBar.svelte index 5d88ab0a..74f94005 100644 --- a/src/lib/components/LMS/SideBar.svelte +++ b/src/lib/components/LMS/SideBar.svelte @@ -53,9 +53,9 @@