Adjust user header style (#398)
* Fix height issue on user profile header * Adjust user header style
This commit is contained in:
parent
7bb7ef32ba
commit
96ff516e09
1 changed files with 8 additions and 2 deletions
|
|
@ -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 %>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue