From bf8bcaab3ad45ab87b3f8b301bb3683affbaefd3 Mon Sep 17 00:00:00 2001 From: Brenden Harrell Date: Sat, 16 Oct 2021 08:59:13 -0500 Subject: [PATCH] Update Tutorial Scroll for Fullscreen Gif --- Platform/WebServer/css/tutorial.css | 1 - .../Education/UI/Spaces/Tutorial-Space/TutorialSpace.js | 7 ++++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Platform/WebServer/css/tutorial.css b/Platform/WebServer/css/tutorial.css index 44dd6006a..4d44124cf 100644 --- a/Platform/WebServer/css/tutorial.css +++ b/Platform/WebServer/css/tutorial.css @@ -28,7 +28,6 @@ font-weight: bold; .tutorial-content-div { overflow-y: auto; overflow-x: clip; - height: 78%; } ::-webkit-scrollbar { diff --git a/Projects/Education/UI/Spaces/Tutorial-Space/TutorialSpace.js b/Projects/Education/UI/Spaces/Tutorial-Space/TutorialSpace.js index 4940964c5..7f269b811 100644 --- a/Projects/Education/UI/Spaces/Tutorial-Space/TutorialSpace.js +++ b/Projects/Education/UI/Spaces/Tutorial-Space/TutorialSpace.js @@ -1380,11 +1380,16 @@ function newEducationTutorialSpace() { } } + let divHeight if (fullscreenMode === false) { html = html + '

' + title + '

' + + divHeight = "78%" + } else { + divHeight = "91%" } - html = html + '
' + html = html + '
' if (schemaDocument.definition !== undefined && schemaDocument.definition.text !== '') { if (fullscreenMode === false) {