Skip to content

Commit

Permalink
fix(style): update social icon size
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-kashitsyn committed May 20, 2024
1 parent d010daa commit aa1d9c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion css/tufte.css
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ a.icon-link:visited {
background: none;
vertical-align: middle;
}
.reddit-icon {
.social-icon {
height: 16px;
width: 16px;
}
Expand Down
4 changes: 2 additions & 2 deletions templates/post-attributes.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<span class="post-icons">
{{ if .HNLink }}
<a class="icon-link" href="{{ .HNLink }}" title="Discuss on Hacker News" rel="nofollow" target="_blank">
<img class="y-icon" src="/images/y18.svg" alt="Hacker News" />
<img class="social-icon" src="/images/y18.svg" alt="Hacker News" />
</a>
{{- end -}}
{{ if .RedditLink }}
<a class="icon-link" href="{{ .RedditLink }}" title="Discuss on Reddit" rel="nofollow" target="_blank">
<img class="reddit-icon" src="/images/Reddit-Icon.svg" alt="Reddit" />
<img class="social-icon" src="/images/Reddit-Icon.svg" alt="Reddit" />
</a>
{{- end -}}
</span>
Expand Down

0 comments on commit aa1d9c8

Please sign in to comment.