Skip to content

Commit 0301fd3

Browse files
committed
reference GitHub logo in navbar using img tag instead of svg+use
1 parent 193c225 commit 0301fd3

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/css/header.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ body {
215215
display: block;
216216
}
217217

218+
.navbar-item .icon img,
218219
.navbar-item .icon svg {
219220
fill: currentColor;
220221
width: inherit;

src/img/octicons-16.svg

Lines changed: 3 additions & 0 deletions
Loading

src/partials/header-content.hbs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,7 @@
8888
</div>
8989
--}}
9090
<a class="navbar-item" href="https://github.com/asciidoctor" target="_blank" rel="noopener">
91-
<span class="icon">
92-
<svg xmlns="http://www.w3.org/2000/svg"><use href="{{{uiRootPath}}}/img/octicons-16.svg#icon-mark-github"></use></svg>
93-
</span>
91+
<span class="icon"><img src="{{{uiRootPath}}}/img/octicons-16.svg#view-mark-github-w"></span>
9492
</a>
9593
</div>
9694
</div>

0 commit comments

Comments
 (0)