diff --git a/lms/public/css/style.css b/lms/public/css/style.css index 1a6a62d4..46050580 100644 --- a/lms/public/css/style.css +++ b/lms/public/css/style.css @@ -1309,14 +1309,12 @@ pre { } .question-number { - padding: 0.25rem 0.75rem; - border-radius: 50%; - box-shadow: var(--shadow-sm); + padding-right: 0.25rem; } .option-text { padding: 0.75rem; - box-shadow: var(--shadow-sm); + border: 1px solid var(--gray-200); border-radius: var(--border-radius-md); flex: 1; } diff --git a/lms/templates/quiz.html b/lms/templates/quiz.html index fcf34e7b..a2e885e6 100644 --- a/lms/templates/quiz.html +++ b/lms/templates/quiz.html @@ -25,11 +25,11 @@
-
{{ loop.index }}
+
{{ loop.index }}.
{{ frappe.utils.md_to_html(question.question) }}
-
{{ instruction }}
+
{{ instruction }}
{% set options = [question.option_1, question.option_2, question.option_3, question.option_4] %} @@ -38,7 +38,7 @@
{% endif %} diff --git a/lms/www/batch/learn.js b/lms/www/batch/learn.js index dc533e7d..17c0e076 100644 --- a/lms/www/batch/learn.js +++ b/lms/www/batch/learn.js @@ -237,7 +237,13 @@ const parse_options = () => { const add_icon = (element, icon) => { $(element).closest(".custom-checkbox").removeClass("active-option"); var label = $(element).siblings(".option-text").text(); - $(element).parent().empty().html(`
${label}
`); + $(element).siblings(".option-text").html(` +
+ + ${label} +
+ `); + //$(element).parent().empty().html(`
${label}
`); }; const add_to_local_storage = (quiz_name, current_index, answer, is_correct) => {