]> git.openstreetmap.org Git - rails.git/commitdiff
Don't pass width/height to user menu thumbnail
authorAnton Khorev <tony29@yandex.ru>
Thu, 1 Aug 2024 02:15:56 +0000 (05:15 +0300)
committerAnton Khorev <tony29@yandex.ru>
Thu, 1 Aug 2024 02:15:56 +0000 (05:15 +0300)
app/views/layouts/_header.html.erb

index cb48d834e378798fa747cda8c0dc8e849449aad5..e96564b82b84839d0ab4d15bbfe998b9d80b1d58 100644 (file)
@@ -82,7 +82,7 @@
     <% if current_user && current_user.id %>
       <div class='d-inline-flex dropdown user-menu logged-in'>
         <button class='d-flex gap-1 align-items-center justify-content-center dropdown-toggle btn btn-outline-secondary border-secondary-subtle bg-body text-secondary px-2 py-1 flex-grow-1' type='button' data-bs-toggle='dropdown'>
-          <%= user_thumbnail_tiny(current_user, :width => 25, :height => 25, :class => "user_thumbnail_tiny rounded-1 bg-body") %>
+          <%= user_thumbnail_tiny(current_user, :class => "user_thumbnail_tiny rounded-1 bg-body") %>
           <% if current_user.new_messages.size > 0 %>
             <span class="badge count-number position-static m-1"><%= current_user.new_messages.size %></span>
           <% end %>