We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7d7b9a commit 2806fa9Copy full SHA for 2806fa9
webapp/public/style_domjudge.css
@@ -737,6 +737,6 @@ blockquote {
737
738
.editor {
739
width: 100%;
740
- height: 400px;
+ height: 80vh;
741
border: 1px solid grey;
742
}
webapp/src/Twig/TwigExtension.php
@@ -850,9 +850,6 @@ public function codeEditor(
850
const element = document.getElementById('__EDITOR__');
851
const content = element.textContent;
852
element.textContent = '';
853
- // Adjust editor height to fit window.
854
- const height = $(window).height() - 400;
855
- element.style.height = height + 'px';
856
857
const editor = monaco.editor.create(element, {
858
value: content,
0 commit comments