From 1d095bf7b733336465ebb6913325251759bcb9d8 Mon Sep 17 00:00:00 2001 From: Tlazypanda Date: Sun, 8 Mar 2020 21:46:42 +0530 Subject: [PATCH] add social links to questions sidebar and fix alignment of twitter button --- app/views/home/_social.html.erb | 19 +++++++++++++------ app/views/sidebar/_question.html.erb | 8 +++++--- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/app/views/home/_social.html.erb b/app/views/home/_social.html.erb index 72bf2434a40..18d125909d7 100644 --- a/app/views/home/_social.html.erb +++ b/app/views/home/_social.html.erb @@ -1,7 +1,7 @@
<% if Rails.env == "production" %>
- + - - + <% end %>
+ + diff --git a/app/views/sidebar/_question.html.erb b/app/views/sidebar/_question.html.erb index 3ae64fa52a7..e14720e5d57 100644 --- a/app/views/sidebar/_question.html.erb +++ b/app/views/sidebar/_question.html.erb @@ -1,7 +1,7 @@
<%= render :partial => "like/like", :locals => {:node => @node, :tagnames => @tagnames } %> - + <%= javascript_include_tag 'sidebar' %>