Use tile avatars for user/group show pages
This commit is contained in:
parent
31245a40c1
commit
78d7c5087b
3 changed files with 6 additions and 2 deletions
|
@ -15,6 +15,10 @@
|
|||
&.s24 { margin-right: 4px; }
|
||||
}
|
||||
|
||||
&.avatar-tile {
|
||||
@include border-radius(0px);
|
||||
}
|
||||
|
||||
&.s16 { width: 16px; height: 16px; margin-right: 6px; }
|
||||
&.s24 { width: 24px; height: 24px; margin-right: 8px; }
|
||||
&.s26 { width: 26px; height: 26px; margin-right: 8px; }
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
.dashboard
|
||||
%div
|
||||
= image_tag group_icon(@group.path), class: "avatar s90"
|
||||
= image_tag group_icon(@group.path), class: "avatar avatar-tile s90"
|
||||
.clearfix
|
||||
%h2
|
||||
= @group.name
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
.row
|
||||
.col-md-8
|
||||
%h3.page-title
|
||||
= image_tag avatar_icon(@user.email, 90), class: "avatar s90", alt: ''
|
||||
= image_tag avatar_icon(@user.email, 90), class: "avatar avatar-tile s90", alt: ''
|
||||
= @user.name
|
||||
- if @user == current_user
|
||||
.pull-right
|
||||
|
|
Loading…
Reference in a new issue