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.

typeahead: Move CSS file with other styles.

Aman Agrawalbb440e0a7a37
diff --git a/web/src/bundles/app.ts b/web/src/bundles/app.ts
index 5b75af4dd70..804afc68925 100644
--- a/web/src/bundles/app.ts
+++ b/web/src/bundles/app.ts
@@ -24,7 +24,7 @@ import "katex/dist/katex.css";
import "flatpickr/dist/flatpickr.css";
import "flatpickr/dist/plugins/confirmDate/confirmDate.css";
import "../../third/bootstrap/css/bootstrap.app.css";
-import "../../third/bootstrap-typeahead/typeahead.css";
+import "../../styles/typeahead.css";
import "../../styles/app_variables.css";
import "../../styles/tooltips.css";
import "../../styles/components.css";
diff --git a/web/styles/typeahead.css b/web/styles/typeahead.css
new file mode 100644
index 00000000000..28f798c328a
--- /dev/null
+++ b/web/styles/typeahead.css
@@ -0,0 +1,15 @@
+/* CSS for Bootstrap typeahead */
+
+.dropdown-menu {
+ display: none;
+ min-width: 160px;
+ list-style: none;
+}
+
+.open > .dropdown-menu {
+ display: block;
+}
+
+.typeahead {
+ z-index: 1051;
+}
diff --git a/web/third/bootstrap-typeahead/typeahead.css b/web/third/bootstrap-typeahead/typeahead.css
deleted file mode 100644
index 15624be3ad8..00000000000
--- a/web/third/bootstrap-typeahead/typeahead.css
+++ /dev/null
@@ -1,13 +0,0 @@
-/* CSS for Bootstrap typeahead */
-
-.dropdown-menu {
- display: none;
- min-width: 160px;
- list-style: none;
-}
-.open > .dropdown-menu {
- display: block;
-}
-.typeahead {
- z-index: 1051;
-}