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.

app_components: Use variable for default dropdown widget button.

Evy Kassirer258797c2fb87
diff --git a/web/styles/app_components.css b/web/styles/app_components.css
index 92cac63d605..04ebc0ca006 100644
--- a/web/styles/app_components.css
+++ b/web/styles/app_components.css
@@ -1126,7 +1126,7 @@ input.settings_text_input {
justify-content: space-between;
outline: none;
color: var(--color-text-default);
- width: 206px;
+ width: var(--width-dropdown-widget-button);
&:disabled {
cursor: not-allowed;
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 5065242ccca..1282a543110 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -610,6 +610,9 @@
/* Informational overlay */
--informational-overlay-max-width: 43.75em;
--modal-input-width: 23.2142em;
+ /* Dropdown menu width. This is a legacy value that comes from bootstrap.
+ See 1c6bed55e4e800b5bad7150f6bdd274cd7f6504e for more context. */
+ --width-dropdown-widget-button: 206px;
/*
Maximum height of the compose box when it is not in maximised state. This