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_view: Reserve space for unread badge focus ring.

Alya Abbott968f2e93623b
diff --git a/web/styles/recent_view.css b/web/styles/recent_view.css
index cb5120f6099..9f8f83b81c7 100644
--- a/web/styles/recent_view.css
+++ b/web/styles/recent_view.css
@@ -749,6 +749,11 @@
.recent-view-unread-mention-and-count-wrapper {
grid-area: unread-mention-and-count;
+ /* Reserve space so a focused unread badge's `-5px`
+ outset focus ring (`.recent-view-table-unread-count`'s
+ `::before`) does not paint over the topic-name's
+ ellipsis when the topic is long enough to truncate. */
+ padding-left: 0.4375em; /* 7px at 16px/1em */
}
.zulip-icon-chevron-right {