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_topics: Fix overly wide unread count focus outline.

Tim Abbott7767ed217d41
diff --git a/static/styles/recent_topics.css b/static/styles/recent_topics.css
index a44a99acf36..ac64a592d1c 100644
--- a/static/styles/recent_topics.css
+++ b/static/styles/recent_topics.css
@@ -141,8 +141,9 @@
}
.unread_count {
- margin-right: 10px;
- margin-left: 10px;
+ /* Focus underline can only occupy the total length of the unread count */
+ margin-right: 1px;
+ margin-left: 1px;
align-self: center;
background-color: hsl(105, 2%, 50%);
}
@@ -166,6 +167,8 @@
}
.recent_topic_actions {
+ /* To add spacing between unread count and mute icon */
+ margin-left: 10px;
display: flex;
flex-flow: row nowrap;
}