summaryrefslogtreecommitdiff
path: root/app/views/projects/edit.html.haml
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/projects/edit.html.haml
parentaba94f65f039908d14643f3854e3c2901ff843aa (diff)
downloadgitlab-ce-fb99a430f91f8a4c5cdf2954cb35c825002d1832.tar.gz
23545 Fix distorted project and group avatars
Diffstat (limited to 'app/views/projects/edit.html.haml')
-rw-r--r--app/views/projects/edit.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml
index 30473d14b9b..ff6a899b92a 100644
--- a/app/views/projects/edit.html.haml
+++ b/app/views/projects/edit.html.haml
@@ -118,7 +118,8 @@
Project avatar
.form-group
- if @project.avatar?
- = project_icon("#{@project.namespace.to_param}/#{@project.to_param}", alt: '', class: 'avatar project-avatar s160')
+ .image-container.s160
+ = project_icon("#{@project.namespace.to_param}/#{@project.to_param}", alt: '', class: 'avatar project-avatar s160')
%p.light
- if @project.avatar_in_git
Project avatar in repository: #{ @project.avatar_in_git }