Skip to content
This repository was archived by the owner on May 26, 2022. It is now read-only.

Commit a296f73

Browse files
committed
Fix Github icon in docs
1 parent 0f0bf64 commit a296f73

File tree

4 files changed

+6
-63
lines changed

4 files changed

+6
-63
lines changed

docs/_includes/header.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@
1717
<a class="page-link" href="{{ site.github.url }}/guides/">Guides</a>
1818
<a class="page-link" href="{{ site.github.url }}/faq/">FAQ</a>
1919
<a class="page-link" href="https://github.com/box/spout">
20-
GitHub
21-
<svg width="12" height="12">
22-
<image xlink:href="/images/external-link.svg" src="/images/external-link.png" width="12" height="12"/>
23-
</svg>
20+
<span class="icon icon--github">{% include icon-github.svg %}</span>
21+
<span class="username">GitHub</span>
2422
</a>
2523
{% if site.algolia.enabled %}
2624
<span class="site-search">

docs/_sass/_layout.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
&:not(:last-child) {
4444
margin-right: 20px;
4545
}
46+
47+
svg {
48+
padding-bottom: 3px;
49+
}
4650
}
4751

4852
@include media-query($on-palm) {

docs/images/external-link.png

-555 Bytes
Binary file not shown.

docs/images/external-link.svg

Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
 (0)