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.

org_settings: Correctly display long channel names.

Karl Stolley9ae704510fde
diff --git a/web/styles/settings.css b/web/styles/settings.css
index edcfd6938e2..1e9bac0ec7d 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -830,6 +830,23 @@ input[type="checkbox"] {
#organization-settings {
.dropdown-widget-button {
color: hsl(0deg 0% 33%);
+
+ .dropdown_widget_value {
+ /* The max-width should account for the
+ 16px-square box (at 16px/1em) for the
+ chevron icon. */
+ max-width: calc(100% - 1em);
+ display: flex;
+ align-items: baseline;
+ /* Mimic the space from the previous inline
+ layout. */
+ gap: 0.4ch;
+ }
+
+ .decorated-channel-name {
+ overflow-x: hidden;
+ text-overflow: ellipsis;
+ }
}
}