Skip to content

Commit

Permalink
anchor links reflrect accurate active section
Browse files Browse the repository at this point in the history
  • Loading branch information
marykatefain committed Sep 19, 2018
1 parent e44344f commit 6e75ea4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="sticky" data-sticky data-sticky-on="large" data-margin-top="3" data-top-anchor="on-this-page:top" data-btm-anchor="main-end:bottom">
<nav class="sidebar-nav section-nav">
<h3 id="on-this-page">In this section</h3>
<ul class="vertical menu" data-magellan data-bar-offset="60">
<ul class="vertical menu" data-magellan data-bar-offset="100">

{% for section in self.sections %}
<li class="{% if section.category.is_active %}is-active{% endif %}">
Expand Down
4 changes: 4 additions & 0 deletions project_tier/static/css/_people.scss
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,7 @@ ul.accordion .accordion-content ul li.column::before {
margin-left: -25px;
margin-top: -10px;
}

.people .section-intro {
margin-top: 20px;
}

0 comments on commit 6e75ea4

Please sign in to comment.