app_components: Use variable for default dropdown widget button.

Followup to https://github.com/zulip/zulip/pull/33297/files#r1951862116
This commit is contained in:
Evy Kassirer
2025-08-11 11:25:49 -07:00
committed by Tim Abbott
parent 4f65c99a6b
commit 258797c2fb
2 changed files with 4 additions and 1 deletions

View File

@@ -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;

View File

@@ -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