minor styling and fixes

This commit is contained in:
Josh
2018-06-22 15:58:25 -04:00
parent c16197670b
commit 939820bffb
6 changed files with 5 additions and 14 deletions

View File

@ -10,7 +10,7 @@
<div class="row">
<div class="col-lg-6 col-md-8 col-sm-12 form-inline mb-5 align-top">
<% if @room.owner.image.nil? %>
<% if @room.owner.image.blank? %>
<span class="avatar"><%= @room.owner.name.first %></span>
<% else %>
<span class="avatar" style="background-image: url(<%= @room.owner.image %>)"></span>