Skip to content

Commit

Permalink
Fix fb share button cropping
Browse files Browse the repository at this point in the history
  • Loading branch information
DHS committed Mar 5, 2016
1 parent fd25fb6 commit 4c97bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/bootstrap/partials/item.html
Expand Up @@ -38,7 +38,7 @@ <h4>{{ app.link_to(item.title, 'items', 'show', item.id) }} <small>by {{ app.lin
{% if not app.config.private %}
<span style="float: right; text-align: right;">
<a href="https://twitter.com/share" class="twitter-share-button" data-url="{{ app.url_for('items', 'show', item.id) }}" data-text="{{ item.title }}" data-count="none">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>
<iframe src="//www.facebook.com/plugins/like.php?href={{ app.url_for('items', 'show', item.id) }}&amp;width=300&amp;layout=button&amp;action=like&amp;show_faces=false&amp;share=false&amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:48px; height:20px;" allowTransparency="true"></iframe>
<iframe src="//www.facebook.com/plugins/like.php?href={{ app.url_for('items', 'show', item.id) }}&amp;width=300&amp;layout=button&amp;action=like&amp;show_faces=false&amp;share=false&amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px; height:20px;" allowTransparency="true"></iframe>
</span>
{% endif %}

Expand Down

0 comments on commit 4c97bc9

Please sign in to comment.