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: Refactor styles for user list style picker.

evykassirer2fd51e3bc42f
diff --git a/web/styles/settings.css b/web/styles/settings.css
index 008971efd59..44f2f7238a4 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -1207,10 +1207,12 @@ label.preferences-radio-choice-label {
}
.user_list_style_values {
- max-width: 350px;
+ max-width: 25em; /* 350px / 14px em */
.preferences-radio-choice-label {
- justify-content: space-between;
+ display: grid;
+ grid-template-columns: 10.7143em auto; /* 150px / 14px em */
+ justify-content: left;
margin-right: 6px;
.right {
@@ -1219,10 +1221,8 @@ label.preferences-radio-choice-label {
}
.preview {
- /* Match the 170px width of the right sidebar region for the name/status,
- doing something reasonable if the window shrinks. */
- width: 170px;
white-space: nowrap;
+ overflow: hidden;
.user-name-and-status-text {
display: flex;