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.

dropdown-list-widget: Remove dropdown-list-body class and reference.

Lauryn Menard225be0bb97fa
diff --git a/web/src/ui_init.js b/web/src/ui_init.js
index e8eaa7fa2f2..c3ffb7ae46a 100644
--- a/web/src/ui_init.js
+++ b/web/src/ui_init.js
@@ -302,11 +302,8 @@ export function initialize_kitchen_sink_stuff() {
// Ignore wheel events in the compose area which weren't already handled above.
$("#compose").on("wheel", (e) => {
- // Except for the stream select dropdown and compose banners, which still needs scroll events.
- if (
- $(e.target).closest(".dropdown-list-body").length ||
- $(e.target).closest("#compose_banners").length
- ) {
+ // Except for the compose banners, which still need scroll events.
+ if ($(e.target).closest("#compose_banners").length) {
return;
}
e.stopPropagation();
diff --git a/web/styles/settings.css b/web/styles/settings.css
index 084eccff2be..a8c5888cf91 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -1586,44 +1586,6 @@ $option_title_width: 180px;
margin-top: 0;
display: block;
}
-
- .dropdown-list-body {
- position: relative;
- margin-top: 0;
- display: block;
-
- /* In bootstrap v2.3.2, we strictly need
- .dropdown-menu > li > a as the order of the elements
- for the bootstrap style to be applied.
- Since we use a combination of dropdown + simplebar here,
- the structure cannot be possible since simplebar inserts
- elements of its own, so we copy over that style
- from bootstrap to here. */
- & li a {
- display: block;
- padding: 3px 20px;
- clear: both;
- font-weight: normal;
- line-height: 20px;
- color: hsl(0deg 0% 20%);
- white-space: nowrap;
-
- &:hover {
- color: hsl(0deg 0% 100%);
- text-decoration: none;
- background-color: hsl(200deg 100% 38%);
- background-image: linear-gradient(
- to bottom,
- hsl(200deg 100% 40%),
- hsl(200deg 100% 35%)
- );
- }
-
- &:focus {
- text-decoration: none;
- }
- }
- }
}
.subsection-failed-status p {