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.

settings: Stop using stale CSS variables.

evykassirerbbc36846c0f4
diff --git a/web/styles/settings.css b/web/styles/settings.css
index 34cfc5233e8..008971efd59 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -1206,11 +1206,8 @@ label.preferences-radio-choice-label {
}
}
-$right_sidebar_width: 170px;
-$option_title_width: 180px;
-
.user_list_style_values {
- max-width: calc($right_sidebar_width + $option_title_width);
+ max-width: 350px;
.preferences-radio-choice-label {
justify-content: space-between;
@@ -1224,7 +1221,7 @@ $option_title_width: 180px;
.preview {
/* Match the 170px width of the right sidebar region for the name/status,
doing something reasonable if the window shrinks. */
- width: calc(100% - $option_title_width);
+ width: 170px;
white-space: nowrap;
.user-name-and-status-text {