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.

css: Use better selector names for typeahead.

Aman Agrawal4740485a137b
diff --git a/web/styles/compose.css b/web/styles/compose.css
index de25b695a97..8d02a7e4c5c 100644
--- a/web/styles/compose.css
+++ b/web/styles/compose.css
@@ -1186,8 +1186,10 @@ textarea.new_message_textarea,
}
}
-.dropdown-menu {
- & ul {
+.typeahead.dropdown-menu {
+ background: hsl(0deg 0% 100%);
+
+ .typeahead-menu {
list-style: none;
margin: 0;
background-color: var(--color-background-popover);
@@ -1206,10 +1208,6 @@ textarea.new_message_textarea,
#typeahead-header-text {
font-size: 12px;
}
-
- &.typeahead {
- background: hsl(0deg 0% 100%);
- }
}
.compose_mobile_stream_button i,
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 3bdbb6acd02..84969adcd2b 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -2496,7 +2496,7 @@ select.invite-as {
margin-left: 40px;
}
- .dropdown-menu ul li {
+ .typeahead.dropdown-menu .typeahead-menu li {
width: 100%;
& a {