mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 20:41:46 +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 {
|
#user_presences {
|
||||||
/* Pad so the bullets are visible */
|
list-style-position: inside; /* Draw the bullets inside our box */
|
||||||
padding-left: 20px;
|
|
||||||
|
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
@@ -187,6 +185,12 @@ a:hover code {
|
|||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#user_presences li {
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
#user_presences li.user_active {
|
#user_presences li.user_active {
|
||||||
list-style-image: url(/static/images/presence/user-active.png);
|
list-style-image: url(/static/images/presence/user-active.png);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user