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.

left_sidebar: Correct filter-input ellipsis bug in Safari.

Karl Stolley8a833311de4f
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index c7798754160..ee0221fd666 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -1082,6 +1082,13 @@ li.top_left_scheduled_messages {
.input {
white-space: nowrap;
overflow: hidden;
+ }
+
+ /* We only establish the ellipsis when
+ the input is not focused, thanks to a
+ Safari bug that makes long inputs
+ unreachable and unscrollable. */
+ .input:not(:focus) {
text-overflow: ellipsis;
}
}