Extra css on start page

This commit is contained in:
benji 2015-02-20 13:34:48 +01:00
parent 1c6be64e5c
commit cec6a43ca1
3 changed files with 4 additions and 3 deletions

View file

@ -86,8 +86,8 @@ footer ul li {
}
.avatar{
height: 190px;
width: 190px;
height: 150px;
width: 150px;
}
}

View file

@ -31,7 +31,7 @@ class User < ActiveRecord::Base
has_paper_trail only: [:balance, :admin, :orders_count, :koelkast]
has_attached_file :avatar, styles: { large: "190x190>", medium: "100x100>" }, default_style: :medium, default_url: "http://lorempixel.com/70/70/"
has_attached_file :avatar, styles: { large: "150x150>", medium: "100x100>" }, default_style: :medium, default_url: "http://lorempixel.com/70/70/"
has_many :orders, -> { includes :products }
has_many :products, through: :orders

View file

@ -1,4 +1,5 @@
<%= render partial: 'flash' %>
<%= text_field_tag :search %>
<div class="row">
<% @users.each do |user| %>