From 11cd680ed08c63f8beda8352141e597f57f4a4ba Mon Sep 17 00:00:00 2001 From: Pierre Date: Fri, 14 Oct 2022 15:53:26 +0200 Subject: [PATCH] valide --- brythonRunner/css/all.css | 26 +++++++++++++++++++++++--- brythonRunner/javascript/base.js | 2 +- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/brythonRunner/css/all.css b/brythonRunner/css/all.css index 7284f041..e757340d 100644 --- a/brythonRunner/css/all.css +++ b/brythonRunner/css/all.css @@ -2,16 +2,36 @@ visibility: hidden; } +html{ + height: 100%; +} + body{ display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: space-around; align-items: stretch; + /* height: 100%; */ + height: 100%; + margin: 0; + padding: 0; +} + + +div.enigme{ + width: 33%; + height: 100%; + margin: 0; + padding: 0; } +div.editor_class{ + width: 33%; + min-height: 100%; + margin-bottom: 0; +} -div{ - height: 250px; - width: 250px; +div.compiler_class{ + width: 33%; } \ No newline at end of file diff --git a/brythonRunner/javascript/base.js b/brythonRunner/javascript/base.js index 656b8712..f69f4af6 100644 --- a/brythonRunner/javascript/base.js +++ b/brythonRunner/javascript/base.js @@ -43,7 +43,7 @@ var editor = ace.edit("editor"); editor.setTheme("ace/theme/vibrant_ink"); editor.getSession().setMode("ace/mode/python"); editor.setFontSize("16px"); -editor.container.style.height = "250px" +// editor.container.style.height ="700px"; editor.setOptions({ enableLiveAutocompletion: true, copyWithEmptySelection: true,