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: Remove stale dropdown-list-widget class.

Aman Agrawal088eadbca1ac
diff --git a/web/styles/app_components.css b/web/styles/app_components.css
index e5d41674f52..553ff9e224f 100644
--- a/web/styles/app_components.css
+++ b/web/styles/app_components.css
@@ -936,20 +936,6 @@ div.overlay {
}
}
-#settings_content,
-#stream_settings,
-#stream-creation,
-#edit_bot_modal {
- .dropdown-list-widget .dropdown-list-wrapper {
- width: fit-content;
-
- & span {
- min-width: 210px;
- width: fit-content;
- }
- }
-}
-
/* This includes css needed to display messages in an overlay. */
.overlay-messages-container {
position: relative;
diff --git a/web/styles/message_row.css b/web/styles/message_row.css
index 3dcd9394651..fe5cdc364a6 100644
--- a/web/styles/message_row.css
+++ b/web/styles/message_row.css
@@ -611,7 +611,6 @@ $time_column_min_width: 42px; /* + padding */
border-radius: 1px 4px 4px 1px !important;
}
- .dropdown-list-widget,
.stream_header_colorblock {
margin-bottom: 10px;
}
diff --git a/web/styles/settings.css b/web/styles/settings.css
index 8b4316de340..a638f8ef18f 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -346,8 +346,7 @@ td .button {
color: hsl(0deg 0% 20%);
}
- .settings_select,
- .dropdown-list-widget .dropdown-toggle {
+ .settings_select {
height: 30px;
min-width: 325px;
max-width: 100%;
@@ -1539,72 +1538,6 @@ $option_title_width: 180px;
}
}
-.dropdown-list-widget {
- & button.dropdown-toggle {
- text-align: left;
-
- .fa-chevron-down {
- float: right;
- position: relative;
- top: 2px;
- padding-left: 5px;
- color: hsl(0deg 0% 58%);
- font-weight: 200;
- }
-
- &.dropdown-toggle {
- /* Match settings for select elements. */
- padding: 4px 6px;
-
- & span {
- line-height: 20px;
- height: 1.4em;
- }
- }
-
- &:disabled i.fa-chevron-down {
- display: none;
- }
- }
-
- & button.multiselect_btn {
- /* Matches the dropdown input margin so as to keep it aligned */
- margin-left: 9px;
- margin-top: 4px;
- }
-
- & a.dropdown_list_reset_button {
- /* Prevent dark theme from overriding background. */
- background: unset !important;
- border: none;
- margin-left: 10px;
-
- &:disabled {
- display: none;
- }
- }
-
- .dropdown-search > input[type="text"] {
- margin: 9px;
- /* 100% - 2* (9px (margin) + 1px (border) + 6px (padding)) */
- width: calc(100% - 32px);
- }
-
- .dropdown-menu {
- top: -7px; /* -(margin+padding), both are set by bootstrap. */
- bottom: auto;
- }
-
- .dropdown-list-wrapper {
- position: relative;
- height: auto;
- max-height: 200px;
- overflow-y: auto;
- margin-top: 0;
- display: block;
- }
-}
-
.subsection-failed-status p {
background-color: hsl(0deg 43% 91%);
padding: 2px 6px;