Extra css on start page
This commit is contained in:
parent
1c6be64e5c
commit
cec6a43ca1
|
@ -86,8 +86,8 @@ footer ul li {
|
|||
}
|
||||
|
||||
.avatar{
|
||||
height: 190px;
|
||||
width: 190px;
|
||||
height: 150px;
|
||||
width: 150px;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<%= render partial: 'flash' %>
|
||||
<%= text_field_tag :search %>
|
||||
|
||||
<div class="row">
|
||||
<% @users.each do |user| %>
|
||||
|
|
Loading…
Reference in a new issue