Adjust user header style (#398)

* Fix height issue on user profile header

* Adjust user header style
This commit is contained in:
Ben Halpern 2018-06-06 21:16:29 -04:00 committed by GitHub
parent 7bb7ef32ba
commit 96ff516e09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,9 +38,15 @@
</div>
<% end %>
<% else %>
<% if @user.email_public && @user.employer_name.present? && @user.location.present? && @user.education.present? %>
<% if @user.email_public &&
@user.employer_name.present? &&
@user.location.present? &&
@user.education.present? &&
@user.education.size > 25 &&
@user.summary.to_s.size < 145
%>
<style>
.user-profile-header {min-height: 410px;}
.user-profile-header {min-height: 398px;}
</style>
<% end %>
<% if @user.email_public %>