Skip to content

Commit

Permalink
fixed positioning of social media buttons in wiki page (#2329)
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhbir-singh authored and jywarren committed Feb 16, 2018
1 parent 6b1a320 commit 710c840
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/home/_social.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div id="social">
<% if Rails.env == "production" %>
<div class="fb-like" data-send="false" data-layout="button_count" data-width="50" data-show-faces="false" style="vertical-align:top;zoom:1;display:inline"></div>
<a style="padding-left:3px;" href="https://twitter.com/share" class="twitter-share-button">Tweet</a>
<div class="fb-like" data-send="false" data-layout="button_count" data-width="50" data-show-faces="false" style="vertical-align: middle; bottom: 6px;margin-right:10px" ></div>
<a style="width: 60px;height: 20px;bottom: 7px;" href="https://twitter.com/share" class="twitter-share-button">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<% end %>
</div>

0 comments on commit 710c840

Please sign in to comment.