From 5ff5b2018fd383cb19e7985064c2f7fe9106b6e5 Mon Sep 17 00:00:00 2001 From: Philippe <83185129+phil3838@users.noreply.github.com> Date: Sat, 5 Apr 2025 15:02:59 -0400 Subject: [PATCH] Editor takes fullscreen --- client/src/pages/Teacher/EditorQuiz/editorQuiz.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/client/src/pages/Teacher/EditorQuiz/editorQuiz.css b/client/src/pages/Teacher/EditorQuiz/editorQuiz.css index 79157ff..a797443 100644 --- a/client/src/pages/Teacher/EditorQuiz/editorQuiz.css +++ b/client/src/pages/Teacher/EditorQuiz/editorQuiz.css @@ -80,6 +80,12 @@ input[type="file"] { .quizEditor .editSection .preview { flex: 50%; padding: 5px; - overflow: auto; + height: 100%; + position: relative; } + +.quizEditor { + margin: 0 -2rem; /* Counteract the padding */ + width: calc(100% + 4rem); /* Expand to fill padded area */ +} \ No newline at end of file