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: Remove unnecessary :not() selector.

YashRE42af221526f280
diff --git a/static/styles/zulip.css b/static/styles/zulip.css
index 3d504bd20c6..4e1415a6cdb 100644
--- a/static/styles/zulip.css
+++ b/static/styles/zulip.css
@@ -1582,7 +1582,7 @@ div.focused_table {
line-height: 16px;
margin: 0 -4px 0 0;
padding: 12px 6px;
-
+ overflow: hidden;
@media (max-width: 500px) {
padding: 7px 3.5px; /* based on having ~41.66% decrease */
}
@@ -1605,7 +1605,6 @@ div.focused_table {
.stream {
text-overflow: clip;
- overflow: hidden;
color: inherit;
text-decoration: none;
/* The first ~3px of padding here overlaps with the left padding from sub_count for some reason. */
@@ -1626,6 +1625,7 @@ div.focused_table {
margin-left: 1px;
padding-right: 10px;
margin-right: 1px;
+ overflow: visible;
.fa.fa-user-o {
margin-left: 0;
}
@@ -1665,7 +1665,6 @@ div.focused_table {
is chosen such that the narrow description shrinks to close
before the stream name must begin to shrink */
flex-shrink: 100;
- overflow: hidden;
white-space: nowrap;
margin: 0;
padding: 12px 0;
@@ -1682,6 +1681,7 @@ div.focused_table {
}
.search_closed {
+ overflow: visible;
flex: 0; /* makes sure search icon is always visible */
cursor: pointer;
@@ -1693,10 +1693,6 @@ div.focused_table {
}
}
- > :not(.search_closed):not(.sub_count):not(.narrow_description) {
- overflow: hidden;
- }
-
> :not(.stream) {
text-overflow: ellipsis;
}