/* Override some conflicting styles.
https://github.com/openstreetmap/openstreetmap-website/pull/121#issuecomment-10206946 */
-.leaflet-popup-content img.user_thumbnail {
- max-width: 50px !important;
-}
.user_popup p {
margin: 0 !important;
-<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>