]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/dashboards/_popup.html.erb
Use grid for dashboard map popups
[rails.git] / app / views / dashboards / _popup.html.erb
index a643b5c90b932ee447818a304798a700ad0b94dc..8a8a949595287390c1b39252b44f1331ca8ec132 100644 (file)
@@ -1,5 +1,9 @@
-<div class="user_popup">
-  <%= user_thumbnail popup %>
-  <p><%= t(".#{type}") %></p>
-  <p><%= link_to popup.display_name, user_path(popup) %></p>
+<div class="user_popup row no-gutters mx-1">
+  <div class="col-auto mx-1">
+    <%= user_thumbnail popup, :class => "user_thumbnail_no_margins" %>
+  </div>
+  <div class="col mx-1">
+    <p><%= t(".#{type}") %></p>
+    <p><%= link_to popup.display_name, user_path(popup) %></p>
+  </div>
 </div>