diff --git a/assets/blocks/quiz/question-block/question.scss b/assets/blocks/quiz/question-block/question.scss index c8c6e4b0db..d7fb2805a7 100644 --- a/assets/blocks/quiz/question-block/question.scss +++ b/assets/blocks/quiz/question-block/question.scss @@ -54,11 +54,12 @@ $question-input-border-color: var(--wp--preset--color--foreground, #155E65 ); line-height: 1; } } - .submitted_file { + + .wp-block-sensei-lms-question-answers__filename { margin-bottom: 20px; } - .submitted_image_file { + .wp-block-sensei-lms-question-answers__preview { max-height: 480px; } } diff --git a/assets/css/3rd-party/themes/course/quiz.scss b/assets/css/3rd-party/themes/course/quiz.scss index f85e081a87..4525a21a16 100644 --- a/assets/css/3rd-party/themes/course/quiz.scss +++ b/assets/css/3rd-party/themes/course/quiz.scss @@ -2,11 +2,11 @@ .wp-block-sensei-lms-quiz { .wp-block-sensei-lms-question-answers { - .sensei_quiz_question_user_text_answer { + .wp-block-sensei-lms-question-answers__answer { color: $gray-50; } - .submitted_image_file { + .wp-block-sensei-lms-question-answers__preview { border-radius: 4px; border: 1px solid var(--wp--preset--color--foreground); } diff --git a/assets/css/sensei-course-theme/quiz-compat.scss b/assets/css/sensei-course-theme/quiz-compat.scss index b734ccb21d..c7cf10cb48 100644 --- a/assets/css/sensei-course-theme/quiz-compat.scss +++ b/assets/css/sensei-course-theme/quiz-compat.scss @@ -25,7 +25,7 @@ $textColor: #1E1E1E; font-size: 1.125rem; } - .submitted_file { + .wp-block-sensei-lms-question-answers__filename { font-size: 18px; font-style: normal; font-weight: 400; @@ -35,7 +35,7 @@ $textColor: #1E1E1E; } } - .sensei_quiz_question_user_text_answer { + .wp-block-sensei-lms-question-answers__answer { color: $gray-50; } } diff --git a/templates/single-quiz/question-type-file-upload.php b/templates/single-quiz/question-type-file-upload.php index 94e1a7a222..49dcfc14b1 100755 --- a/templates/single-quiz/question-type-file-upload.php +++ b/templates/single-quiz/question-type-file-upload.php @@ -36,7 +36,7 @@ -

+

- + diff --git a/templates/single-quiz/question-type-gap-fill.php b/templates/single-quiz/question-type-gap-fill.php index f853650b7f..01949f3228 100755 --- a/templates/single-quiz/question-type-gap-fill.php +++ b/templates/single-quiz/question-type-gap-fill.php @@ -28,7 +28,7 @@ - + diff --git a/templates/single-quiz/question-type-multi-line.php b/templates/single-quiz/question-type-multi-line.php index e9c88606ec..95ad3782c4 100755 --- a/templates/single-quiz/question-type-multi-line.php +++ b/templates/single-quiz/question-type-multi-line.php @@ -24,7 +24,7 @@ if ( $sensei_is_quiz_view_only_mode ) { ?> -

+
-
+