diff --git a/Management.Web/Pages/QuizFormPage.razor b/Management.Web/Pages/QuizFormPage.razor index 8ec6f35..832a37b 100644 --- a/Management.Web/Pages/QuizFormPage.razor +++ b/Management.Web/Pages/QuizFormPage.razor @@ -165,7 +165,7 @@ short answer"; }

- Points: @quizPoints + Questions: @quizContext.Quiz?.Questions.Count() - Points: @quizPoints

@if (quizInCanvas != null) { @@ -188,7 +188,8 @@ short answer";
+ style="min-height: 10%; max-width: 100%;" + > @if(showHelp) { diff --git a/Management.Web/Shared/Components/MonacoTextArea.razor b/Management.Web/Shared/Components/MonacoTextArea.razor index fc19347..483a27c 100644 --- a/Management.Web/Shared/Components/MonacoTextArea.razor +++ b/Management.Web/Shared/Components/MonacoTextArea.razor @@ -27,7 +27,6 @@ AutomaticLayout = true, FontFamily = "DM Mono, monospace", FontSize = 16, - }; } diff --git a/Management.Web/Shared/Components/Quiz/Markdown/MarkdownQuizForm.razor b/Management.Web/Shared/Components/Quiz/Markdown/MarkdownQuizForm.razor index 96b51be..8f20b36 100644 --- a/Management.Web/Shared/Components/Quiz/Markdown/MarkdownQuizForm.razor +++ b/Management.Web/Shared/Components/Quiz/Markdown/MarkdownQuizForm.razor @@ -14,7 +14,6 @@ get => _quizMarkdownInput; set { - Console.WriteLine("setting"); _quizMarkdownInput = value; try @@ -52,8 +51,6 @@ { quizContext.StateHasChanged -= reload; } - - }
diff --git a/Management.Web/wwwroot/css/site.css b/Management.Web/wwwroot/css/site.css index 531d70e..47b42c2 100644 --- a/Management.Web/wwwroot/css/site.css +++ b/Management.Web/wwwroot/css/site.css @@ -82,4 +82,12 @@ body { /* Handle on hover */ ::-webkit-scrollbar-thumb:hover { background: rgb(31, 31, 31); +} + + + +/* monaco editor */ + +.monaco-editor-background, .monaco-editor .margin { + background-color: var(--bs-dark-bg-subtle) !important; } \ No newline at end of file