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 c1d880a commit ede94dcCopy full SHA for ede94dc
webapp/src/Twig/TwigExtension.php
@@ -849,6 +849,10 @@ public function codeEditor(
849
const element = document.getElementById('__EDITOR__');
850
const content = element.textContent;
851
element.textContent = '';
852
+ // Adjust editor height to fit window.
853
+ const height = $(window).height() - 400;
854
+ element.style.height = height + 'px';
855
+
856
const editor = monaco.editor.create(element, {
857
value: content,
858
scrollbar: {
0 commit comments