Commit 85aef7dd1f9c1c0ad03b978572b617da44ef51d3
1 parent
107c37d0
Exists in
master
and in
11 other branches
proposals_discussion: fix facebook button
Showing
2 changed files
with
5 additions
and
1 deletions
Show diff stats
public/style.css
@@ -219,3 +219,7 @@ form .proposals-discussion-plugin .body textarea { | @@ -219,3 +219,7 @@ form .proposals-discussion-plugin .body textarea { | ||
219 | clear: both; | 219 | clear: both; |
220 | padding-top: 10px; | 220 | padding-top: 10px; |
221 | } | 221 | } |
222 | + | ||
223 | +.proposal .actions .fb-share-button { | ||
224 | + top: -3px; | ||
225 | +} |
views/content_viewer/_social.html.erb
1 | <a href="https://twitter.com/share" class="twitter-share-button" data-url="<%= url_for proposal.view_url %>" data-text="<%= proposal.title %>" data-count="none"></a> | 1 | <a href="https://twitter.com/share" class="twitter-share-button" data-url="<%= url_for proposal.view_url %>" data-text="<%= proposal.title %>" data-count="none"></a> |
2 | 2 | ||
3 | -<div class="fb-share-button" data-href="<%= url_for proposal.view_url %>" data-layout="box-count"></div> | 3 | +<div class="fb-share-button" data-href="<%= url_for proposal.view_url %>"></div> |