]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_tag_details.html.erb
Remove some tag table custom css
[rails.git] / app / views / browse / _tag_details.html.erb
index cd087bc7feba1c03b7869ba2b73b90c0ed45ae12..9129ddaf5d23df457700f7adb63615340a1ca70f 100644 (file)
@@ -1,8 +1,8 @@
-<% unless tag_details.tags.empty? %>
-  <div class='browse-section'>
-    <h4><%= t'browse.tag_details.tags' %></h4>
-    <ul class='browse-tag-list'>
-      <%= render :partial => "tag", :collection => tag_details.tags.sort %>
-    </ul>
+<% unless tag_details.empty? %>
+  <h4><%= t ".tags" %></h4>
+  <div class='mb-3 border border-grey rounded overflow-hidden'>
+    <table class='mb-0 browse-tag-list table align-middle text-break'>
+      <%= render :partial => "tag", :collection => tag_details.sort %>
+    </table>
   </div>
 <% end %>