Merge branch 'develop' of https://github.com/frappe/lms into share-badge

This commit is contained in:
Jannat Patel
2024-05-27 17:36:31 +05:30
12 changed files with 115 additions and 52 deletions

View File

@@ -10,6 +10,15 @@
:style="{ backgroundImage: 'url(\'' + encodeURI(course.image) + '\')' }"
>
<div class="flex relative top-4 left-4 w-fit flex-wrap">
<Badge
v-if="course.featured"
variant="subtle"
theme="green"
size="md"
class="mr-2"
>
{{ __('Featured') }}
</Badge>
<Badge
variant="outline"
theme="gray"

View File

@@ -2,7 +2,7 @@
<div class="text-base">
<div
v-if="title && (outline.data?.length || allowEdit)"
class="grid grid-cols-[70%,30%] mb-4"
class="grid grid-cols-[70%,30%] mb-4 px-2"
>
<div class="font-semibold text-lg">
{{ __(title) }}