summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-05 11:25:28 +0100
committerPhil Hughes <me@iamphill.com>2017-09-05 11:25:28 +0100
commit8f4ce0d6d46303bb79b647380b4bd81d8e9e3b39 (patch)
tree7b23c162a543970b825a2a638d3c2be2e86a1b9f
parent402812829c1cf484417755bb7e50e59c7cfb385d (diff)
downloadgitlab-ce-8f4ce0d6d46303bb79b647380b4bd81d8e9e3b39.tar.gz
fixed images changing height of breadcrumbs
-rw-r--r--app/helpers/groups_helper.rb2
-rw-r--r--app/helpers/projects_helper.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/groups_helper.rb b/app/helpers/groups_helper.rb
index 4b8549dcb9b..05640d3cf3f 100644
--- a/app/helpers/groups_helper.rb
+++ b/app/helpers/groups_helper.rb
@@ -87,7 +87,7 @@ module GroupsHelper
link_to(group_path(group), class: "group-path #{'hidable' if hidable}") do
output =
if (show_new_nav? && group.try(:avatar_url) || (show_new_nav? && show_avatar)) && !Rails.env.test?
- image_tag(group_icon(group), class: "avatar-tile", width: 16, height: 16)
+ image_tag(group_icon(group), class: "avatar-tile", width: 15, height: 15)
else
""
end
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index 0dc820e5d03..be52ebdd696 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -63,7 +63,7 @@ module ProjectsHelper
project_link = link_to project_path(project), { class: ("project-item-select-holder" unless show_new_nav?) } do
output =
if show_new_nav? && project.avatar_url && !Rails.env.test?
- project_icon(project, alt: project.name, class: 'avatar-tile', width: 16, height: 16)
+ project_icon(project, alt: project.name, class: 'avatar-tile', width: 15, height: 15)
else
""
end