added responsiveness to modal and edit page

This commit is contained in:
Ethan Fraenkel
2018-09-03 11:25:20 +02:00
parent 598d59319e
commit 8bd06651cf
5 changed files with 40 additions and 13 deletions

View File

@@ -32,11 +32,11 @@
<i class="fas fa-times-circle"></i>
<% end %>
<div class="container">
<div class="modal-container">
<div class="modal-container modal-flex">
<% if contact.photo.url.nil? %>
<img src="https://upload.wikimedia.org/wikipedia/commons/8/89/Portrait_Placeholder.png" class="avatar profile dropdown-toggle img-circle" width=150>
<img src="https://upload.wikimedia.org/wikipedia/commons/8/89/Portrait_Placeholder.png" class="avatar profile dropdown-toggle img-circle modal-picture" width=150>
<% else %>
<%= cl_image_tag contact.photo, class: "profile avatar dropdown-toggle img-circle", width:150%>
<%= cl_image_tag contact.photo, class: "profile avatar dropdown-toggle img-circle modal-picture", width:150%>
<% end %>
<div class="modal-text">
<h4 class="modal-title" id="myModalLabel">Calling</h4>

View File

@@ -8,3 +8,5 @@
<%= p.button :submit, class: "btn btn-primary" %>
<% end %>