]> git.openstreetmap.org Git - rails.git/commitdiff
Use start margin instead of empty <li> for gap before traces rss button
authorAnton Khorev <tony29@yandex.ru>
Thu, 14 Sep 2023 15:02:55 +0000 (18:02 +0300)
committerAnton Khorev <tony29@yandex.ru>
Thu, 14 Sep 2023 15:02:55 +0000 (18:02 +0300)
app/views/traces/index.html.erb

index ddbaa9e940677cbd9e8b1d1617bf481cda03d5e9..c82120a7d718764f13113275a00206a510df449a 100644 (file)
@@ -47,9 +47,8 @@
       </li>
     <% end %>
 
-    <li class="nav-item flex-sm-grow-1"></li>
-    <li class="nav-item">
-      <div class="px-3 py-2 py-sm-0">
+    <li class="nav-item ms-auto">
+      <div class="ps-3 py-2 py-sm-0">
         <%= link_to({ :action => :georss, :display_name => @target_user&.display_name, :tag => params[:tag] }, { :class => "btn btn-secondary btn-sm" }) do %>
           <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="white" viewBox="0 0 16 16">
             <path d="M5.5 12a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm-3-8.5a1 1 0 0 1 1-1c5.523 0 10 4.477 10 10a1 1 0 1 1-2 0 8 8 0 0 0-8-8 1 1 0 0 1-1-1zm0 4a1 1 0 0 1 1-1 6 6 0 0 1 6 6 1 1 0 1 1-2 0 4 4 0 0 0-4-4 1 1 0 0 1-1-1z" />