]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/browse_helper.rb
Check if db is writable on oauth authorization pages
[rails.git] / app / helpers / browse_helper.rb
index 6619a1e92698d287dc838e3931da0acc13fc11cd..482503e8ae66b3c48e5be261e5974c5d66aba821 100644 (file)
@@ -14,7 +14,7 @@ module BrowseHelper
 
     image_tag "browse/#{selected_icon_data[:filename]}",
               :size => 20,
 
     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
 
               :title => title
   end
 
@@ -27,7 +27,7 @@ module BrowseHelper
   end
 
   def element_list_item(type, object, &)
   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, &)
   end
 
   def element_list_item_with_strikethrough(type, object, &)