Truncate long names in the presence list, rather than scrolling.

(imported from commit 6ba1487d5e2d2ac1435248fec5f161deec685180)
This commit is contained in:
Waseem Daher
2013-04-24 14:00:07 -04:00
parent f863a9b567
commit bd702b777f

View File

@@ -176,9 +176,7 @@ a:hover code {
}
#user_presences {
/* Pad so the bullets are visible */
padding-left: 20px;
list-style-position: inside; /* Draw the bullets inside our box */
margin-top: 1em;
margin-left: 0;
overflow-y: hidden;
@@ -187,6 +185,12 @@ a:hover code {
overflow-y: auto;
}
#user_presences li {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
#user_presences li.user_active {
list-style-image: url(/static/images/presence/user-active.png);
}