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 state dropdown-toggle class.

Aman Agrawalee2f08aa9692
diff --git a/web/src/click_handlers.js b/web/src/click_handlers.js
index ce80249e02a..d162e099a7a 100644
--- a/web/src/click_handlers.js
+++ b/web/src/click_handlers.js
@@ -851,7 +851,7 @@ export function initialize() {
// Workaround for Bootstrap issue #5900, which basically makes dropdowns
// unclickable on mobile devices.
// https://github.com/twitter/bootstrap/issues/5900
- $("a.dropdown-toggle, .dropdown-menu a").on("touchstart", (e) => {
+ $(".dropdown-menu a").on("touchstart", (e) => {
e.stopPropagation();
});
diff --git a/web/styles/components.css b/web/styles/components.css
index 533eeaba123..12ec5fc2aae 100644
--- a/web/styles/components.css
+++ b/web/styles/components.css
@@ -127,8 +127,7 @@ input::-ms-reveal {
}
}
-select.bootstrap-focus-style,
-button.dropdown-toggle {
+select.bootstrap-focus-style {
&:focus {
outline: 1px dotted hsl(0deg 0% 20%);
outline: 5px auto -webkit-focus-ring-color;
diff --git a/web/styles/message_row.css b/web/styles/message_row.css
index fe5cdc364a6..b6223028d3b 100644
--- a/web/styles/message_row.css
+++ b/web/styles/message_row.css
@@ -605,12 +605,6 @@ $time_column_min_width: 42px; /* + padding */
margin-top: 0;
}
- /* Override the default border-radius to properly align
- the button corners with `stream_header_colorblock`. */
- .dropdown-toggle {
- border-radius: 1px 4px 4px 1px !important;
- }
-
.stream_header_colorblock {
margin-bottom: 10px;
}
diff --git a/web/styles/settings.css b/web/styles/settings.css
index a638f8ef18f..c3c640162b0 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -329,8 +329,7 @@ td .button {
/* Messy implementation of buttons with text and a pencil icon in them
having spacing before the pencil icon. */
& button.btn-link i.fa-pencil,
- button[data-dismiss="modal"] i.fa-pencil,
- .dropdown-toggle i.fa-pencil {
+ button[data-dismiss="modal"] i.fa-pencil {
margin-left: 3px;
}