From d2b80feee455b2d59fe05cecf3f887aae4995f29 Mon Sep 17 00:00:00 2001 From: Rajneel Totaram Date: Mon, 17 Jul 2023 16:44:03 +1200 Subject: [PATCH] MDL-76982 theme_classic: Fix positioning of sticky previous/next buttons --- theme/classic/scss/moodle.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/theme/classic/scss/moodle.scss b/theme/classic/scss/moodle.scss index 6f08f9ef1eb..705f0c08e55 100644 --- a/theme/classic/scss/moodle.scss +++ b/theme/classic/scss/moodle.scss @@ -18,6 +18,21 @@ img.userpicture { } } +.path-mod-book { + #mod_book-chaptersnavigation { + margin-left: -5px; + margin-right: -5px; + + @include media-breakpoint-down(md) { + top: calc(100% - 150px); + } + } + + .book_content { + margin: 0 30px; + } +} + .tertiary-navigation { &.full-width-bottom-border {