Skip to content

Commit 57208d3

Browse files
authored
Merge pull request #1641 from pierwill/subteam-anchor
Add link anchor to team and subteam headings
2 parents 7521102 + c7997fb commit 57208d3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/styles/app.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,10 @@ footer {
382382
}
383383
}
384384

385+
a.linkable-subheading {
386+
text-decoration: none;
387+
}
388+
385389
footer h4 {
386390
font-size: 1.2em;
387391
font-weight: 600;

templates/governance/group-team.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<a name="{{team.name}}"></a>
1+
<a id="{{team-text team name}}" name="{{team.name}}"></a>
22
<div class="w-100 mw-none mw-8-m mw9-l ph3 center f3">
33
<header class="pb0 pt5">
4-
<h2>{{team-text team name}}</h2>
4+
<a class="linkable-subheading" href="#{{team-text team name}}"><h2>{{team-text team name}}</h2></a>
55
<div class="highlight"></div>
66
</header>
77
<div>

0 commit comments

Comments
 (0)