]> git.openstreetmap.org Git - rails.git/commitdiff
Remove unnecessary user menu wrapper
authorAnton Khorev <tony29@yandex.ru>
Tue, 21 May 2024 22:38:21 +0000 (01:38 +0300)
committerAnton Khorev <tony29@yandex.ru>
Tue, 21 May 2024 22:38:21 +0000 (01:38 +0300)
app/views/layouts/_header.html.erb

index dfe74a7501d5cb1d3c0481c19f364a143c03c855..a628b647d773202a738ee9fb791afa5741e98905 100644 (file)
           <% if current_user.new_messages.size > 0 %>
             <span class="badge count-number m-1"><%= current_user.new_messages.size %></span>
           <% end %>
-          <span class="user-button">
-            <span class='username'>
-              <%= current_user.display_name %>
-            </span>
+          <span class='username'>
+            <%= current_user.display_name %>
           </span>
         </button>
         <div class='dropdown-menu dropdown-menu-end'>