This approach keeps the look without adding in the margins (and floats)
which are inappropriate for the flex-based layout.
margin-right: $lineheight;
}
+img.user_image_no_margins {
+ max-width: 100px;
+ max-height: 100px;
+ border: 1px solid $grey;
+}
+
img.user_thumbnail {
max-width: 50px;
max-height: 50px;
<% content_for :heading do %>
<div id="userinformation" class="row">
<div class="col-sm-auto">
- <%= user_image @user, :class => "" %>
+ <%= user_image @user, :class => "user_image_no_margins" %>
</div>
<div class="col">
<h1><%= @user.display_name %> <%= role_icons(@user) %></h1>