CLASSROOMIO-T-225: Aligned question number and title
CLASSROOMIO-T-225:Removed console log CLASSROOMIO-T-225:Aligned question number and title Co-authored-by: Ifeanyi Nwosu <ifeanyi@digdippa.com> Merge-request: CLASSROOMIO-MR-113 Merged-by: Best Admin <best@digdippa.com>
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
import Grade from '$lib/components/Question/Grade.svelte';
|
||||
|
||||
export let title = '';
|
||||
export let index = 1;
|
||||
export let code = '';
|
||||
export let name = '';
|
||||
export let onSubmit = () => {};
|
||||
@@ -37,7 +38,10 @@
|
||||
<div class="flex items-center justify-between mb-2">
|
||||
<HtmlRender className="mt-4">
|
||||
<svelte:fragment slot="content">
|
||||
<h3 class={typeof grade === 'number' ? 'w-3/4' : ''}>{title}</h3>
|
||||
<span class={`${typeof grade === 'number' ? 'w-3/4' : ''} flex gap-1`}>
|
||||
<h3>{index}</h3>
|
||||
<h3>{title}</h3>
|
||||
</span>
|
||||
</svelte:fragment>
|
||||
</HtmlRender>
|
||||
<Grade {gradeMax} {grade} {disableGrading} />
|
||||
|
||||
Reference in New Issue
Block a user