]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changesets/_changeset.html.erb
Use flexbox instead of floating to position the comment icon
[rails.git] / app / views / changesets / _changeset.html.erb
index 267bdb5556b261dd4195cdb8c4b810c1ca4a1e75..714cd14b57245b217ed1c29de72232071d48a561 100644 (file)
       <%= changeset.tags["comment"].to_s.presence || t("browse.no_comment") %>
     </a>
   </p>
-  <div class="comments comments-<%= changeset.comments.length %>">
-    <%= changeset.comments.length %>
-    <span class="icon note grey"></span>
-  </div>
-  <div class="details">
-    <%= changeset_details(changeset) %>
-    &middot;
-    #<%= changeset.id %>
+  <div class="row">
+    <div class="col">
+      <%= changeset_details(changeset) %>
+      &middot;
+      #<%= changeset.id %>
+    </div>
+    <div class="col-auto comments comments-<%= changeset.comments.length %>">
+      <%= changeset.comments.length %>
+      <span class="icon note grey"></span>
+    </div>
   </div>
 <% end %>