fix: misc lesson issues

This commit is contained in:
Jannat Patel
2024-04-25 16:41:56 +05:30
parent 804fc8e391
commit 1a2cb0fc3c
9 changed files with 1013 additions and 806 deletions

View File

@@ -2,9 +2,9 @@
<div class="text-base">
<div
v-if="title && (outline.data?.length || allowEdit)"
class="flex items-center justify-between mb-4"
class="flex items-center justify-between mb-4 pl-2"
>
<div class="font-semibold" :class="allowEdit ? 'text-base' : 'text-lg'">
<div class="font-semibold text-lg">
{{ __(title) }}
</div>
<Button size="sm" v-if="allowEdit" @click="openChapterModal()">
@@ -73,7 +73,7 @@
</router-link>
</div>
</div>
<div v-if="allowEdit" class="flex mt-2 pl-8">
<div v-if="allowEdit" class="flex mt-2 mb-4 pl-8">
<router-link
:to="{
name: 'CreateLesson',