Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

recent: Fix unread counts wrappings to next line in long topic names.

Aman Agrawalb23931bd662d
diff --git a/static/styles/recent_topics.css b/static/styles/recent_topics.css
index 1b1733e2aaa..0abf682b3c5 100644
--- a/static/styles/recent_topics.css
+++ b/static/styles/recent_topics.css
@@ -331,17 +331,23 @@
.recent_topic_stream {
width: 25%;
padding: 8px 0 8px 8px;
- word-break: break-word;
- hyphens: auto;
+
+ a {
+ word-break: break-word;
+ hyphens: auto;
+ }
}
.recent_topic_name {
width: 40%;
- word-break: break-word;
- /* No hyphes for word break since it caused hyphens to appear before
- the ellipsis `longText-...` which is not desirable. Ellipsis appears due
- to the line clamp applied below.
- */
+
+ a {
+ word-break: break-word;
+ /* No hyphes for word break since it caused hyphens to appear before
+ the ellipsis `longText-...` which is not desirable. Ellipsis appears due
+ to the line clamp applied below.
+ */
+ }
.line_clamp {
/* This -webkit-box display property is webkit-specific, but