From df6bdbcd469c5d3e5c31b1dcde73c5289bfc83b9 Mon Sep 17 00:00:00 2001 From: Mihail Geshoski Date: Thu, 30 Nov 2017 13:31:10 +0800 Subject: [PATCH] MDL-40790 lesson: Lesson content button runs off the edge of the page --- theme/boost/scss/moodle/modules.scss | 3 +++ theme/bootstrapbase/less/moodle/modules.less | 3 +++ theme/bootstrapbase/style/moodle.css | 3 +++ 3 files changed, 9 insertions(+) diff --git a/theme/boost/scss/moodle/modules.scss b/theme/boost/scss/moodle/modules.scss index 7c1976b82d4..a40ed064593 100644 --- a/theme/boost/scss/moodle/modules.scss +++ b/theme/boost/scss/moodle/modules.scss @@ -237,6 +237,9 @@ div#dock { .path-mod-lesson .invisiblefieldset.fieldsetfix { display: block; } +#page-mod-lesson-view .branchbuttoncontainer .singlebutton button[type="submit"] { + white-space: normal; +} .path-mod-wiki .wiki_headingtitle, .path-mod-wiki .midpad, diff --git a/theme/bootstrapbase/less/moodle/modules.less b/theme/bootstrapbase/less/moodle/modules.less index 01fdc4a36ec..21866877a60 100644 --- a/theme/bootstrapbase/less/moodle/modules.less +++ b/theme/bootstrapbase/less/moodle/modules.less @@ -455,6 +455,9 @@ div#dock { #page-mod-lesson-view .password-form .submitbutton { display: inline; } +#page-mod-lesson-view .branchbuttoncontainer .singlebutton input[type="submit"] { + white-space: normal; +} .path-mod-lesson .reviewessay { width: 40%; border: 1px solid #ddd; diff --git a/theme/bootstrapbase/style/moodle.css b/theme/bootstrapbase/style/moodle.css index 75e1f36aa5e..b2301884020 100644 --- a/theme/bootstrapbase/style/moodle.css +++ b/theme/bootstrapbase/style/moodle.css @@ -17463,6 +17463,9 @@ div#dock { #page-mod-lesson-view .password-form .submitbutton { display: inline; } +#page-mod-lesson-view .branchbuttoncontainer .singlebutton input[type="submit"] { + white-space: normal; +} .path-mod-lesson .reviewessay { width: 40%; border: 1px solid #ddd;