fixed images changing height of breadcrumbs
This commit is contained in:
parent
402812829c
commit
8f4ce0d6d4
2 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ module GroupsHelper
|
||||||
link_to(group_path(group), class: "group-path #{'hidable' if hidable}") do
|
link_to(group_path(group), class: "group-path #{'hidable' if hidable}") do
|
||||||
output =
|
output =
|
||||||
if (show_new_nav? && group.try(:avatar_url) || (show_new_nav? && show_avatar)) && !Rails.env.test?
|
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
|
else
|
||||||
""
|
""
|
||||||
end
|
end
|
||||||
|
|
|
@ -63,7 +63,7 @@ module ProjectsHelper
|
||||||
project_link = link_to project_path(project), { class: ("project-item-select-holder" unless show_new_nav?) } do
|
project_link = link_to project_path(project), { class: ("project-item-select-holder" unless show_new_nav?) } do
|
||||||
output =
|
output =
|
||||||
if show_new_nav? && project.avatar_url && !Rails.env.test?
|
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
|
else
|
||||||
""
|
""
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue