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.

navbar: Keep descriptions and closed search box from colliding.

Karl Stolleya86465de54b2
diff --git a/web/styles/message_view_header.css b/web/styles/message_view_header.css
index 68e1455253b..b88382bade4 100644
--- a/web/styles/message_view_header.css
+++ b/web/styles/message_view_header.css
@@ -75,7 +75,12 @@
background: none;
color: inherit;
font-weight: 400;
- padding-left: 10px;
+ /* Padding to the left separates the description from the
+ view label or channel name; padding to the right keeps
+ the description from getting too close to the closed
+ search box--with a pleasing equidistant space in both
+ places. */
+ padding: 0 10px;
overflow: hidden;
text-overflow: ellipsis;
/* The very last element in the navbar is the search icon, the second