Skip to content

Commit

Permalink
Create a pseudo octicon class to match font-awesome CSS properties
Browse files Browse the repository at this point in the history
* This lines up the icons with fa a little better
* Add class to view

Applies to OpenUserJS#381 and OpenUserJS#186
  • Loading branch information
Martii committed Oct 21, 2014
1 parent 923bdc6 commit b627500
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions public/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -297,3 +297,8 @@ a.panel-heading {
.octicon {
font-size: inherit;
}

.octicon-fw {
text-align: center;
width: 1.28571429em;
}
2 changes: 1 addition & 1 deletion views/pages/scriptPage.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
{{#script.fork}}
<li>
<span class="page-heading-icon hidden-xs">
<i class="octicon octicon-repo-forked"></i>
<i class="octicon octicon-fw octicon-repo-forked"></i>
</span>
<a href="/scripts/{{{url}}">{{url}}</a>
</li>
Expand Down

0 comments on commit b627500

Please sign in to comment.