[yt-svn] commit/yt: ngoldbaum: Fixing an issue that causes hash anchors to scroll behind the navbar when clicked twice.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Jul 30 18:54:58 PDT 2014


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/97f946d28b44/
Changeset:   97f946d28b44
Branch:      yt-3.0
User:        ngoldbaum
Date:        2014-07-31 03:54:31
Summary:     Fixing an issue that causes hash anchors to scroll behind the navbar when clicked twice.

This happens because our theme uses a navbar-fixed-top.  See https://github.com/twbs/bootstrap/issues/1768
Affected #:  1 file

diff -r d4b49cae0c72c9bc35c42ca5093842e5e7052ae9 -r 97f946d28b44f1bfc262cac281f9ddef74b00d5e doc/source/_static/custom.css
--- a/doc/source/_static/custom.css
+++ b/doc/source/_static/custom.css
@@ -41,4 +41,12 @@
 
 tbody td.label {
     color: #000000;
+}
+
+*[id]:before { 
+  display: block; 
+  content: " "; 
+  margin-top: -45px; 
+  height: 45px; 
+  visibility: hidden; 
 }
\ No newline at end of file

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list