summaryrefslogtreecommitdiff
path: root/app/views/tournaments
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-04-22 01:53:15 -0400
committerAndrewMurrell <amurrel@purdue.edu>2014-04-22 01:53:15 -0400
commita0c6b18233551454f3eb9f73a23c0dee43fd2cfa (patch)
tree4c80ac7f78e6269aeffb2887d16c4a68d34f87f3 /app/views/tournaments
parent257f6393e81ffaef00bb4a738973eaacba02d21e (diff)
parent9c0e7d91ec76c44ca63f87b2bcd46ff16cacc38b (diff)
Merge branch 'master' of http://github.com/LukeShu/leaguer
Diffstat (limited to 'app/views/tournaments')
-rw-r--r--app/views/tournaments/index.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/tournaments/index.html.erb b/app/views/tournaments/index.html.erb
index 7957042..eef9577 100644
--- a/app/views/tournaments/index.html.erb
+++ b/app/views/tournaments/index.html.erb
@@ -5,8 +5,8 @@
<%# Each tournament has a div for its listing %>
<% @tournaments.each do |t| %>
<div class="row tournament-listing">
- <div class="col-md-2 "><%= image_tag 'http://www.gravatar.com/avatar/' + Digest::MD5.hexdigest(t.hosts.first.email) + '?s=100&d=mm' %></div>
- <div class="col-md-8">
+ <div class="col-md-2 col-sm-3 col-xs-6"><%= image_tag 'http://www.gravatar.com/avatar/' + Digest::MD5.hexdigest(t.hosts.first.email) + '?s=100&d=mm' %></div>
+ <div class="col-md-8 col-sm-7 col-xs-6">
<%# "header" %>
<%= link_to(t) do %><h3><%= t.name %></h3><% end %>
<div class="row" style="margin-left:2%;">
@@ -23,7 +23,7 @@
</div>
</div>
</div>
- <div class="col-md-2">
+ <div class="col-md-2 col-sm-2 col-xs-2">
<% if signed_in? %>
<% if !t.players.include?(current_user) %>
<%= form_tag(tournament_path(t), method: "put") do %>