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.

ui_init: Remove unused dropdown menu code.

Aman Agrawal4c6164ad496e
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index 25453784e0a..1cad5708ac4 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -628,10 +628,6 @@
}
}
- .nav .dropdown-menu::after {
- border-bottom-color: hsl(235deg 18% 7%);
- }
-
.narrow_to_compose_recipients,
.expand_composebox_button,
.collapse_composebox_button,
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 92f3ab86f30..535adfa55fc 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -1811,31 +1811,6 @@ div.focused-message-list {
font-size: 0;
}
-.nav .dropdown-menu {
- left: auto;
- right: -7px;
- top: 35px;
- /* Match the width of the right sidebar so that we don't have
- the presence dots distracting you when looking at this. */
- min-width: 240px;
- box-shadow: 0 0 5px hsl(0deg 0% 0% / 20%);
-
- &::after {
- position: absolute;
- width: 0;
- height: 0;
- top: -7px;
- right: 19px;
- display: inline-block;
- border-right: 7px solid transparent;
- border-bottom: 7px solid hsl(0deg 0% 67%);
- border-left: 7px solid transparent;
- content: "";
- z-index: 10;
- }
-}
-
-.nav .dropdown-menu a,
.typeahead.dropdown-menu a {
color: inherit;
}
@@ -2460,15 +2435,6 @@ select.invite-as {
}
}
- .nav .dropdown-menu {
- min-width: 180px;
- box-shadow: 0 0 5px hsl(0deg 0% 0% / 20%);
-
- &::after {
- right: 21px;
- }
- }
-
.column-middle {
margin-right: 7px;
}
@@ -2570,10 +2536,6 @@ select.invite-as {
margin-top: 10px;
}
- .nav .dropdown-menu {
- right: -13px;
- }
-
/* Usually the styling is applied directly to the icon, but here
the icon is `position: static`, so we can't. */
.search_closed {