fix: misc ui issues

This commit is contained in:
Jannat Patel
2025-08-12 15:03:19 +05:30
parent a2f51f151a
commit 65477a5b2b
11 changed files with 41 additions and 24 deletions

View File

@@ -66,7 +66,7 @@
{{ tag }}
</Badge>
</div>
<div class="md:hidden mb-4">
<div class="md:hidden my-4">
<CourseCardOverlay :course="course" />
</div>
<div

View File

@@ -26,24 +26,19 @@
{{ __('All Courses') }}
</div>
<div
class="flex flex-col space-y-2 lg:space-y-0 lg:flex-row lg:items-center lg:space-x-4"
class="flex flex-col space-y-3 lg:space-y-0 lg:flex-row lg:items-center lg:space-x-4"
>
<TabButtons :buttons="courseTabs" v-model="currentTab" class="w-fit" />
<FormControl
v-model="certification"
:label="__('Certification')"
type="checkbox"
@change="updateCourses()"
/>
<div class="grid grid-cols-2 gap-2">
<FormControl
v-model="title"
:placeholder="__('Search by Title')"
type="text"
class="min-w-40 lg:min-w-0 lg:w-32 xl:w-40"
class="w-full lg:min-w-0 lg:w-32 xl:w-40"
@input="updateCourses()"
/>
<div class="min-w-40 lg:min-w-0 lg:w-32 xl:w-40">
<div class="w-full lg:min-w-0 lg:w-32 xl:w-40">
<Select
v-if="categories.length"
v-model="currentCategory"
@@ -53,6 +48,13 @@
/>
</div>
</div>
<FormControl
v-model="certification"
:label="__('Certification')"
type="checkbox"
@change="updateCourses()"
/>
</div>
</div>
<div

View File

@@ -18,7 +18,7 @@
/>
</div>
</header>
<div class="w-3/4 mx-auto px-5 pt-6 divide-y">
<div class="w-full md:w-3/4 mx-auto px-5 pt-6 divide-y">
<div
v-if="notifications?.length"
v-for="log in notifications"

View File

@@ -18,7 +18,7 @@
class="h-[130px] w-full"
></div>
<div
class="absolute bottom-0 left-1/2 mb-4 flex -translate-x-1/2 space-x-2 opacity-0 transition-opacity focus-within:opacity-100 group-hover:opacity-100"
class="absolute bottom-[30%] md:bottom-0 left-[50%] mb-4 flex -translate-x-1/2 space-x-2 opacity-0 transition-opacity focus-within:opacity-100 group-hover:opacity-100"
v-if="isSessionUser()"
>
<EditCoverImage