fix monaco editor background

This commit is contained in:
2023-11-11 15:04:57 -07:00
parent e4cae72856
commit a0931f5003
4 changed files with 11 additions and 6 deletions

View File

@@ -165,7 +165,7 @@ short answer";
}
<div class="col-auto me-3">
<h3>
Points: @quizPoints
Questions: @quizContext.Quiz?.Questions.Count() - Points: @quizPoints
</h3>
@if (quizInCanvas != null)
{
@@ -188,7 +188,8 @@ short answer";
<section
class="flex-grow-1 w-100 d-flex justify-content-center border rounded-4 bg-dark-subtle"
style="min-height: 10%; max-width: 100%;">
style="min-height: 10%; max-width: 100%;"
>
@if(showHelp)
{

View File

@@ -27,7 +27,6 @@
AutomaticLayout = true,
FontFamily = "DM Mono, monospace",
FontSize = 16,
};
}

View File

@@ -14,7 +14,6 @@
get => _quizMarkdownInput;
set
{
Console.WriteLine("setting");
_quizMarkdownInput = value;
try
@@ -52,8 +51,6 @@
{
quizContext.StateHasChanged -= reload;
}
}
<div class="d-flex flex-column h-100">

View File

@@ -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;
}