From: Andy Allan Date: Wed, 16 Jun 2021 15:47:13 +0000 (+0100) Subject: Rework tabs to use flexbox X-Git-Tag: live~2129^2~1 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/81ad7154747244abfa2e38dc529e62e6bd8998bd?ds=sidebyside;hp=62349d18564b6d0ac9a4aac61b298df913f5c08d Rework tabs to use flexbox This improves the behaviour on small widths, where the tabs stack neatly. It also avoids the use of ml-auto which isn't RTL compatible. The change in indentation is because it was previously coded with multiple li nested inside another li --- diff --git a/app/views/traces/index.html.erb b/app/views/traces/index.html.erb index fa4e57f47..026e85aed 100644 --- a/app/views/traces/index.html.erb +++ b/app/views/traces/index.html.erb @@ -7,43 +7,42 @@ <%= link_to t(".remove_tag_filter", :tag => params[:tag]), { :controller => "traces", :action => "index", :display_name => nil, :tag => nil, :page => nil }, { :class => "border-left ml-2 pl-2" } %> <% end %>

-