From d2c34bbccf35e79c58a36af8bed7e1b824e72e60 Mon Sep 17 00:00:00 2001 From: Mariya Abdul Ghafoor <126770566+Mariya-ghafoor@users.noreply.github.com> Date: Wed, 7 Aug 2024 10:09:38 +1000 Subject: [PATCH] fix(ui): fix upper jaw inline code string spacing (#55681) Co-authored-by: Oliver Eyton-Williams --- client/src/templates/Challenges/classic/editor.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/client/src/templates/Challenges/classic/editor.css b/client/src/templates/Challenges/classic/editor.css index 7bf459bdf1b..3011ff48e46 100644 --- a/client/src/templates/Challenges/classic/editor.css +++ b/client/src/templates/Challenges/classic/editor.css @@ -55,6 +55,10 @@ textarea.inputarea { max-width: unset !important; } +.editor-upper-jaw code { + white-space: pre-wrap; +} + .action-row-container, .description-container { background-color: var(--secondary-background); @@ -141,6 +145,7 @@ textarea.inputarea { from { background-color: var(--highlight-background); } + to { background-color: var(--secondary-background); } @@ -211,10 +216,12 @@ textarea.inputarea { 0% { opacity: 0; } + /* keep test feedback contents initially hidden for 200ms*/ 40% { opacity: 0; } + 100% { opacity: 1; }