Permalink
Browse files

fix sponsor index

  • Loading branch information...
1 parent 65985e4 commit cf68ac007db405c067af2d9a94270eeeb127b257 @jodyalbritton committed Jul 21, 2014
Showing with 7 additions and 7 deletions.
  1. +5 −5 app/assets/stylesheets/sponsors.css.scss
  2. +2 −2 app/views/sponsors/index.html.erb
@@ -7,7 +7,11 @@
.portfolioFilter a.current {
font-weight:bold;
}
-
+div.sponsor-details {
+ width: 260px;
+ text-align: center;
+ min-height: 60px;
+}
div.portfolioContainer img {
margin: 10px;
height :260px;
@@ -40,7 +44,3 @@ div.portfolioContainer img {
transition-property: transform, opacity;
}
-.sponsor-img {
-
-
-}
@@ -24,8 +24,8 @@
<div class="<%= sponsor.category.name %>">
<%= link_to sponsor_url(sponsor) do %>
<%= image_tag sponsor.avatar.url(:medium), :class=> "img-responsive img-sponsor" %>
- <div class="text-center">
- <h4><%= link_to sponsor.name, sponsor_url(sponsor) %></h4>
+ <div class="sponsor-details">
+ <h3><%= sponsor.name %></h3>
</div>
<% end %>
</div>

0 comments on commit cf68ac0

Please sign in to comment.