hide social buttons on small screens

This commit is contained in:
Lee Lawlor 2014-08-05 16:00:27 -04:00
parent 856afd64ce
commit 0e142458f5

View File

@ -1,4 +1,4 @@
<div class="socialButtons" > <div class="socialButtons">
<% if current_user %> <% if current_user %>
<div class="buttonlets padded watchButtonPadding"> <div class="buttonlets padded watchButtonPadding">
<%= check_box_tag 'watch', 1, current_user.watchings.check(current_user.id, @channel.id) %> <%= check_box_tag 'watch', 1, current_user.watchings.check(current_user.id, @channel.id) %>
@ -9,18 +9,21 @@
</div> </div>
<% end %> <% end %>
<div class="addthis_toolbox addthis_default_style buttonlets padded tweetButton" > <span class="hidden-xs hidden-sm">
<a class="addthis_button_tweet"></a> <div class="addthis_toolbox addthis_default_style buttonlets padded tweetButton">
</div> <a class="addthis_button_tweet"></a>
<div class="addthis_toolbox addthis_default_style buttonlets padded facebookButton" > </div>
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a> <div class="addthis_toolbox addthis_default_style buttonlets padded facebookButton">
</div> <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<div class="addthis_toolbox addthis_default_style buttonlets padded googleplusButton" > </div>
<a class="addthis_button_google_plusone" g:plusone:size="medium"></a> <div class="addthis_toolbox addthis_default_style buttonlets padded googleplusButton">
</div> <a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
<div class="addthis_toolbox addthis_default_style buttonlets padded" > </div>
<a class="addthis_counter addthis_pill_style"></a> <div class="addthis_toolbox addthis_default_style buttonlets padded">
</div> <a class="addthis_counter addthis_pill_style"></a>
</div>
</span>
</div> </div>
<script type="text/javascript" src="https://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4f9168ce642d4694"></script> <script type="text/javascript" src="https://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4f9168ce642d4694"></script>