Skip to content

Commit

Permalink
Makes User Card Size Equal (#7412)
Browse files Browse the repository at this point in the history
* user card

* user card

* Update application.html.erb
  • Loading branch information
urvashigupta7 authored Feb 2, 2020
1 parent 236190a commit 70e0f5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@
width: 800px !important;
}

.peoplecard{
height:250px;
}

</style>

<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-slider/10.2.0/bootstrap-slider.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion app/views/users/list.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<% @users.each do |user| %>
<div class ="col-md-6" id="user">
<div class="card"<% if user.status == 0 %> style="background-color: #ffc;"<% end %>>
<div class="card peoplecard"<% if user.status == 0 %> style="background-color: #ffc;"<% end %>>
<div class="row card-body">
<div class="col-lg-12 nopadding">
<div class="profile-image text-center">
Expand Down

0 comments on commit 70e0f5b

Please sign in to comment.