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> </span>
<div class="bio"> <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> </div>
<h4><%= link_to user.name, user %> <h4><%= link_to user.name, user, title: user.name %>
</h4> </h4>
</div> </div>

View File

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