From 258797c2fb87a949c266892883269ecab24de3cc Mon Sep 17 00:00:00 2001 From: Evy Kassirer Date: Mon, 11 Aug 2025 11:25:49 -0700 Subject: [PATCH] app_components: Use variable for default dropdown widget button. Followup to https://github.com/zulip/zulip/pull/33297/files#r1951862116 --- web/styles/app_components.css | 2 +- web/styles/app_variables.css | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/web/styles/app_components.css b/web/styles/app_components.css index 92cac63d60..04ebc0ca00 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 5065242ccc..1282a54311 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