From acb53bb1f032b26b914d255a85d677caae13fe9e Mon Sep 17 00:00:00 2001 From: Bas Brands Date: Mon, 24 Jun 2019 14:27:14 +0200 Subject: [PATCH] MDL-64935 theme: prevent activitynavigation link overflowing container --- theme/boost/scss/moodle/course.scss | 11 +++++++++++ theme/boost/style/moodle.css | 7 +++++++ 2 files changed, 18 insertions(+) diff --git a/theme/boost/scss/moodle/course.scss b/theme/boost/scss/moodle/course.scss index 0bc6d4ca78a..6bf0b144e4c 100644 --- a/theme/boost/scss/moodle/course.scss +++ b/theme/boost/scss/moodle/course.scss @@ -1190,3 +1190,14 @@ span.editinstructions { height: 32px; font-size: 32px; } + +.activity-navigation { + .row { + align-items: center; + } + #prev-activity-link, + #next-activity-link { + white-space: pre-wrap; + } +} + diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 7d3952cb971..43288761def 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -12531,6 +12531,13 @@ span.editinstructions { height: 32px; font-size: 32px; } +.activity-navigation .row { + align-items: center; } + +.activity-navigation #prev-activity-link, +.activity-navigation #next-activity-link { + white-space: pre-wrap; } + /* Anchor link offset fix. This makes hash links scroll 60px down to account for the fixed header. */ :target::before { content: " ";