]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/dashboards/_popup.html.erb
Remove setting 100% width with w-100 where it's the default width
[rails.git] / app / views / dashboards / _popup.html.erb
index a643b5c90b932ee447818a304798a700ad0b94dc..c4f8b627a153d7ab4fc854518e2d67e64cbea2cd 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 g-0 mx-1">
+  <div class="col-auto mx-1">
+    <%= user_thumbnail popup %>
+  </div>
+  <div class="col mx-1">
+    <p><%= t(".#{type}") %></p>
+    <p><%= link_to popup.display_name, user_path(popup) %></p>
+  </div>
 </div>