fixed images changing height of breadcrumbs

This commit is contained in:
Phil Hughes 2017-09-05 11:25:28 +01:00
parent 402812829c
commit 8f4ce0d6d4
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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