Skip to content

Commit

Permalink
Update Challenge.razor
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoens committed Aug 6, 2022
1 parent 9592626 commit 4cab51b
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions Ellabit/Pages/Challenge.razor
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
@using Ellabit.Challenges
<PageTitle>Ellabit - Return the Sum of Two Numbers</PageTitle>

<style>
.monaco-editor-container {
height: 400px;
width: 800px;
border: 1px solid gray;
<style>
.monaco-editor-container {
height: calc(100vh - 135px);
width: 100%;
border: 1px solid gray;
}
</style>
Expand Down Expand Up @@ -43,8 +43,7 @@
</table>
}
</MudTabPanel>
<MudTabPanel Text="Code">
@*<div id="editor" style="width:fit-content(800px);height:600px;border:1px solid grey"></div>*@
<MudTabPanel Text="Code" >
<MonacoEditor @ref="_editor" ConstructionOptions="EditorConstructionOptions" />
</MudTabPanel>
<MudTabPanel Text="Tests">
Expand Down

0 comments on commit 4cab51b

Please sign in to comment.