diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 7f31316f16..2ab9d192cf 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -2279,10 +2279,18 @@ body:not(.spectator-view) {
align-self: start;
}
}
+
+ .dropdown-list-text-neutral {
+ grid-area: item-text;
+ align-self: center;
+ }
}
+ /* This correctly places neutral text items
+ appearing without a wrapping
+ `.dropdown-list-item-name` class. */
.dropdown-list-text-neutral {
- grid-area: item-text;
+ grid-area: item-label;
align-self: center;
}
diff --git a/web/templates/dropdown_list.hbs b/web/templates/dropdown_list.hbs
index d0c46660a3..c29946e3ff 100644
--- a/web/templates/dropdown_list.hbs
+++ b/web/templates/dropdown_list.hbs
@@ -42,7 +42,7 @@
{{else if (eq unique_id -2)}}
{{!-- This is the option for PresetUrlOption.MAPPING --}}
- {{name}}
+ {{name}}
{{else}}
{{#if bold_current_selection}}