I'm trying to align elements inside a well, the image's location changed, causing the well to get bigger.I think this question How to horizontally center a <div> in another <div>? helped me position stores' details in the correct place. But the image is causing the problem.
<% @stores.each do |store| %>
<div class="row">
<div class="well">
<%= link_to image_tag(root_url + "/images/" + store.filename, size: "100x100", alt: store.filename), store %>
<div id="inner">
<h3><%=store.name%></h3>
<h4><%=store.foodType%></h4>
<p><%=store.description%></p>
<% if current_user != store.user %>
<%= rating_for store, "overall", :enable_half => true,:half_show => true,:disable_after_rate => false %>
<% end %>
</div>
</div>
</div>
<% end %>
I feel like I need a tag specifically for my image.But I'm not quite sure how to set it.
bootstrap.css
#inner {
padding: 50px;
display: inline-block;
}