From f1cd9f54c243ac1da136c3cbddf6b6cf622deae7 Mon Sep 17 00:00:00 2001 From: Mathieu David Date: Thu, 17 Dec 2015 17:34:24 +0100 Subject: [PATCH] Fixes rust-lang/book#29 where the navigation arrow for next chapter was displayed on top of the scroll bar making it unusable --- src/theme/book.css | 2 +- src/theme/stylus/nav-icons.styl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/theme/book.css b/src/theme/book.css index 102b1762..c6e2546d 100644 --- a/src/theme/book.css +++ b/src/theme/book.css @@ -222,7 +222,7 @@ h3 { left: 0; } .next { - right: 0; + right: 15px; } .theme-popup { position: fixed; diff --git a/src/theme/stylus/nav-icons.styl b/src/theme/stylus/nav-icons.styl index 2ffb93f7..211db682 100644 --- a/src/theme/stylus/nav-icons.styl +++ b/src/theme/stylus/nav-icons.styl @@ -20,4 +20,4 @@ .mobile-nav-chapters { display: none } .nav-chapters:hover { text-decoration: none } .previous { left: 0 } -.next { right: 0 } +.next { right: 15px }