summaryrefslogtreecommitdiff
path: root/app/views/groups
diff options
context:
space:
mode:
authortauriedavis <taurie@gitlab.com>2016-10-31 12:14:05 -0700
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-11-01 10:59:04 -0500
commitfb99a430f91f8a4c5cdf2954cb35c825002d1832 (patch)
treea1a42cca920de27440deea810389d4d554f25897 /app/views/groups
parentaba94f65f039908d14643f3854e3c2901ff843aa (diff)
downloadgitlab-ce-fb99a430f91f8a4c5cdf2954cb35c825002d1832.tar.gz
23545 Fix distorted project and group avatars
Diffstat (limited to 'app/views/groups')
-rw-r--r--app/views/groups/edit.html.haml3
-rw-r--r--app/views/groups/show.html.haml3
2 files changed, 4 insertions, 2 deletions
diff --git a/app/views/groups/edit.html.haml b/app/views/groups/edit.html.haml
index c766370d5a0..f84ac37fa8f 100644
--- a/app/views/groups/edit.html.haml
+++ b/app/views/groups/edit.html.haml
@@ -8,7 +8,8 @@
.form-group
.col-sm-offset-2.col-sm-10
- = image_tag group_icon(@group), alt: '', class: 'avatar group-avatar s160'
+ .image-container.s160
+ = image_tag group_icon(@group), alt: '', class: 'avatar group-avatar s160'
%p.light
- if @group.avatar?
You can change your group avatar here
diff --git a/app/views/groups/show.html.haml b/app/views/groups/show.html.haml
index fab61f447c2..275581b3af8 100644
--- a/app/views/groups/show.html.haml
+++ b/app/views/groups/show.html.haml
@@ -6,7 +6,8 @@
.cover-block.groups-cover-block
%div{ class: container_class }
- = image_tag group_icon(@group), class: "avatar group-avatar s70 avatar-tile"
+ .image-container.s70.group-avatar
+ = image_tag group_icon(@group), class: "avatar s70 avatar-tile"
.group-info
.cover-title
%h1