Skip to content

Commit 33664f5

Browse files
authored
Add pencil icon to edit link (ev3dev#223)
Fixes ev3dev#220
1 parent 5889c4f commit 33664f5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

_includes/title.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h1>
2020
{{ page.title | xml_escape }}
2121
<small>{{ page.subtitle }}</small>
2222
{% if edit_path %}
23-
<a class="btn btn-primary pull-right" href="{{ edit_path }}">Edit on Github</a>
23+
<a class="btn btn-primary pull-right" href="{{ edit_path }}"><span class="glyphicon glyphicon-pencil"></span> Edit on Github</a>
2424
{% elsif show_news_link %}
2525
<a class="btn btn-primary pull-right" href="/news/atom.xml">Subscribe via Atom</a>
2626
{% endif %}

stylesheets/site-structure.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636

3737
// Alert icons
3838
.alert span.glyphicon,
39-
.panel span.glyphicon {
39+
.panel span.glyphicon,
40+
.btn span.glyphicon {
4041
margin-right: 8px;
4142
}
4243

0 commit comments

Comments
 (0)