X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5b5ffaf90f54b19379223ee912fe6a4f59234fcd..7d4cc85a312cb79fd1c4b0f22626722bea1d736d:/app/helpers/browse_helper.rb diff --git a/app/helpers/browse_helper.rb b/app/helpers/browse_helper.rb index 6619a1e92..482503e8a 100644 --- a/app/helpers/browse_helper.rb +++ b/app/helpers/browse_helper.rb @@ -14,7 +14,7 @@ module BrowseHelper image_tag "browse/#{selected_icon_data[:filename]}", :size => 20, - :class => ["align-bottom object-fit-none", { "browse-icon-invertible" => selected_icon_data[:invert] }], + :class => ["align-bottom object-fit-none browse-icon", { "browse-icon-invertible" => selected_icon_data[:invert] }], :title => title end @@ -27,7 +27,7 @@ module BrowseHelper end def element_list_item(type, object, &) - tag.li(tag.div(element_icon(type, object) + tag.div(&), :class => "d-flex gap-1")) + tag.li(tag.div(element_icon(type, object) + tag.div(:class => "align-self-center", &), :class => "d-flex gap-1")) end def element_list_item_with_strikethrough(type, object, &)