Adjusting user summary styling

This commit is contained in:
Will Bradley 2014-04-21 10:58:22 -07:00
parent 6198ad419c
commit 409227f2d5
2 changed files with 9 additions and 9 deletions

View File

@ -5,8 +5,10 @@
</span>
<div class="bio">
<small><%= strip_tags(user.current_skills).truncate(50) %></small>
<small title="<%= strip_tags(user.current_skills).truncate(150) %>">
<%= strip_tags(user.current_skills).truncate(50) %>
</small>
</div>
<h4><%= link_to user.name, user %>
<h4><%= link_to user.name, user, title: user.name %>
</h4>
</div>

View File

@ -7,22 +7,20 @@
.users .badges {
display: block;
width: 100%;
height: 24px;
height: 16px;
}
.users .badges img {
float: left;
width: 24px;
height: 24px;
width: 16px;
height: 16px;
background-color: white;
border-radius: 12px;
}
.users .bio, .users .thumbnail h4 {
overflow: hidden;
text-overflow: ellipsis;
height: 3em;
}
.users .thumbnail h4 {
height: 1em;
height: 14pt;
font-size: 11pt;
}
</style>