Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixes an issue where anchor headers on the guidelines page were obscu…

…red by the navbar
  • Loading branch information...
commit 58f0d0145c285a10d95c874bfee680965e27c7e2 1 parent d37156f
@jkonowitch jkonowitch authored
View
9 app/assets/stylesheets/guidelines.css.less
@@ -1,3 +1,12 @@
// Place all the styles related to the guidelines controller here.
// They will automatically be included in application.css.
// You can use Less here: http://lesscss.org/
+
+// http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+// https://github.com/twitter/bootstrap/issues/3316
+#guidelines {
+ h2 {
+ margin-top: -40px;
+ padding-top: 40px;
+ }
+}
View
2  app/views/guidelines/show.html.erb
@@ -1,4 +1,4 @@
-<div class="row">
+<div class="row" id="guidelines">
<div class="span3 sidebar">
<ul class="nav nav-list sidenav affix">
<li><a href="#registration">Registration</a><li>
Please sign in to comment.
Something went wrong with that request. Please try again.