mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 11:52:01 +00:00
Truncate long names in the presence list, rather than scrolling.
(imported from commit 6ba1487d5e2d2ac1435248fec5f161deec685180)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user