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.

search: Fix x icon overlap in search and filter inputs.

anurastogiji7a24da70a1d8
diff --git a/static/styles/app_components.css b/static/styles/app_components.css
index e9e28a6e854..e998fc6da25 100644
--- a/static/styles/app_components.css
+++ b/static/styles/app_components.css
@@ -462,6 +462,16 @@ div.overlay {
}
}
+.topic-list-filter {
+ text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: nowrap;
+
+ input {
+ padding-right: 20px;
+ }
+}
+
.stream-selection-header-colorblock {
/* box-shadow: 0px 2px 3px hsl(0, 0%, 80%); */
box-shadow: inset 0 2px 1px -2px hsl(0, 0%, 20%),
diff --git a/static/styles/left_sidebar.css b/static/styles/left_sidebar.css
index 25c3ae188e4..55914284891 100644
--- a/static/styles/left_sidebar.css
+++ b/static/styles/left_sidebar.css
@@ -121,6 +121,11 @@ li.show-more-topics {
.input-append.topic_search_section {
margin-bottom: 3px;
margin-left: 3px;
+
+ input {
+ padding-right: 20px;
+ width: calc(100% - 50px);
+ }
}
}
}
@@ -550,10 +555,18 @@ li.expanded_private_message {
margin-right: 12px;
padding-left: $far_left_gutter_size;
cursor: pointer;
+ margin-top: 3px;
+
+ input {
+ padding-right: 20px;
+ }
}
.stream-list-filter {
- width: 236px;
+ width: 216px;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
}
.topic-list-filter {
diff --git a/static/styles/popovers.css b/static/styles/popovers.css
index 6b9246d45dc..70052780096 100644
--- a/static/styles/popovers.css
+++ b/static/styles/popovers.css
@@ -407,6 +407,10 @@ ul {
.stream-search {
margin-left: auto;
align-self: center;
+ padding-right: 20px;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
}
#clear_stream_search {
diff --git a/static/styles/recent_topics.css b/static/styles/recent_topics.css
index 9771cb74fa7..8b62a4c0183 100644
--- a/static/styles/recent_topics.css
+++ b/static/styles/recent_topics.css
@@ -101,6 +101,10 @@
#recent_topics_search {
flex-grow: 1;
+ padding-right: 20px;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
}
.clear_search_button {
diff --git a/static/styles/right_sidebar.css b/static/styles/right_sidebar.css
index 05e6301253e..46d658095f9 100644
--- a/static/styles/right_sidebar.css
+++ b/static/styles/right_sidebar.css
@@ -230,6 +230,16 @@
}
}
+#user_search_section {
+ input {
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ padding-right: 20px;
+ width: calc(100% - 40px - 3px);
+ }
+}
+
@media (width < $sm_min) {
#userlist-toggle {
height: 30px;
diff --git a/static/styles/subscriptions.css b/static/styles/subscriptions.css
index a89da7097db..17a133e85fd 100644
--- a/static/styles/subscriptions.css
+++ b/static/styles/subscriptions.css
@@ -565,6 +565,10 @@ h4.stream_setting_subsection_title {
display: inline-block;
border-radius: 5px;
box-shadow: none;
+ padding-right: 20px;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
}
.stream_name_search_section {
diff --git a/static/styles/zulip.css b/static/styles/zulip.css
index 75c11578bcd..e8b9b00bbf6 100644
--- a/static/styles/zulip.css
+++ b/static/styles/zulip.css
@@ -1599,8 +1599,9 @@ div.focused_table {
}
.message_edit_topic_propagate {
- width: auto;
- margin-bottom: 5px !important;
+ display: inline-block;
+ width: 300px;
+ margin-bottom: 15px !important;
max-width: 100%;
}
@@ -1941,12 +1942,15 @@ div.focused_table {
height: $header_height;
padding: 0;
padding-left: 5px;
- padding-right: 20px;
+ padding-right: 40px;
border: none;
border-radius: 0;
font-family: "Source Sans 3", sans-serif;
font-weight: 300;
line-height: $header_height;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: nowrap;
}
#search_arrows:focus {