summaryrefslogtreecommitdiff
path: root/app/views/projects/_home_panel.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/_home_panel.html.haml
parentaba94f65f039908d14643f3854e3c2901ff843aa (diff)
downloadgitlab-ce-fb99a430f91f8a4c5cdf2954cb35c825002d1832.tar.gz
23545 Fix distorted project and group avatars
Diffstat (limited to 'app/views/projects/_home_panel.html.haml')
-rw-r--r--app/views/projects/_home_panel.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml
index d3987fc9c4f..e67b66d1fff 100644
--- a/app/views/projects/_home_panel.html.haml
+++ b/app/views/projects/_home_panel.html.haml
@@ -1,7 +1,8 @@
- empty_repo = @project.empty_repo?
.project-home-panel.text-center{ class: ("empty-project" if empty_repo) }
%div{ class: container_class }
- = project_icon(@project, alt: @project.name, class: 'project-avatar avatar s70 avatar-tile')
+ .image-container.s70.project-avatar
+ = project_icon(@project, alt: @project.name, class: 'avatar s70 avatar-tile')
%h1.project-title
= @project.name
%span.visibility-icon.has-tooltip{data: { container: 'body' }, title: visibility_icon_description(@project)}