Commit b35d4d8e authored by bas's avatar bas
Browse files

MDL-68250 mod_book: make book navigation separation

Make the book navigation more distinguishable from activity navigation
parent f2fc4a9f
......@@ -222,7 +222,7 @@ $navclasses = book_get_nav_classes();
if ($book->navstyle) {
// Upper navigation.
echo '<div class="navtop clearfix ' . $navclasses[$book->navstyle] . '">' . $chnavigation . '</div>';
echo '<div class="navtop border-top py-3 clearfix ' . $navclasses[$book->navstyle] . '">' . $chnavigation . '</div>';
}
// The chapter itself.
......@@ -251,7 +251,7 @@ if (core_tag_tag::is_enabled('mod_book', 'book_chapters')) {
if ($book->navstyle) {
// Lower navigation.
echo '<div class="navbottom clearfix ' . $navclasses[$book->navstyle] . '">' . $chnavigation . '</div>';
echo '<div class="navbottom py-3 border-bottom clearfix ' . $navclasses[$book->navstyle] . '">' . $chnavigation . '</div>';
}
echo $OUTPUT->footer();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment