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: Disable view type dropdown for spectators in channel topics list.

Rajat yadav750a07fd0b60
diff --git a/web/styles/app_components.css b/web/styles/app_components.css
index 32d9143a43b..76cb3109e72 100644
--- a/web/styles/app_components.css
+++ b/web/styles/app_components.css
@@ -1101,10 +1101,16 @@ div.overlay .flex.overlay-content > .overlay-container,
background-color: var(
--color-background-disabled-dropdown-widget-button
);
+ /* TODO: Should this be 0.5 to match the spectator block below? */
opacity: 0.7;
}
}
+.dropdown-widget-disabled-for-spectators .dropdown-widget-button {
+ cursor: not-allowed;
+ opacity: 0.5;
+}
+
#edit_bot_owner_widget .dropdown_widget_value {
white-space: nowrap;
overflow: hidden;
diff --git a/web/styles/recent_view.css b/web/styles/recent_view.css
index 892ca540206..cfd5227a2b1 100644
--- a/web/styles/recent_view.css
+++ b/web/styles/recent_view.css
@@ -640,8 +640,3 @@
box-shadow: 0 0 5px var(--color-box-shadow-input-focus);
}
}
-
-.dropdown-widget-disabled-for-spectators #recent-view-filter_widget {
- cursor: not-allowed;
- opacity: 0.5;
-}