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.

edit_bot: Fix dropdown username capitalization.

aryanshridhar134a6f8bbae7
diff --git a/static/styles/settings.css b/static/styles/settings.css
index 7c302244232..380ff2cff29 100644
--- a/static/styles/settings.css
+++ b/static/styles/settings.css
@@ -852,6 +852,11 @@ input[type="checkbox"] {
.buttons {
margin: 10px 0 5px 0;
}
+
+ button.dropdown-toggle {
+ font-weight: 600;
+ color: hsl(0, 0%, 67%);
+ }
}
.edit_bot_email {
diff --git a/static/templates/settings/dropdown_list_widget.hbs b/static/templates/settings/dropdown_list_widget.hbs
index 18e69a401ea..3e20da34f63 100644
--- a/static/templates/settings/dropdown_list_widget.hbs
+++ b/static/templates/settings/dropdown_list_widget.hbs
@@ -1,22 +1,22 @@
<div class="input-group dropdown-list-widget" id="{{widget_name}}_widget">
- <label for="{{widget_name}}" id="{{widget_name}}_label" class="inline-block">
- {{ label }}
- <span class="{{widget_name}}_setting dropup actual-dropdown-menu prop-element" id="id_{{widget_name}}"
- name="{{widget_name}}" aria-labelledby="{{widget_name}}_label">
- <button class="button small rounded dropdown-toggle" data-toggle="dropdown">
- <span id="{{widget_name}}_name"></span>
- <i class="fa fa-pencil"></i>
- </button>
- <ul class="dropdown-menu modal-bg" role="menu">
- <li class="dropdown-search" role="presentation">
- <input class="no-input-change-detection" type="text" role="menuitem" placeholder="{{list_placeholder}}" autofocus/>
- </li>
- <div class="dropdown-list-wrapper" data-simplebar>
- <span class="dropdown-list-body"></span>
- </div>
- </ul>
- </span>
- </label>
+ <span class="{{widget_name}}_setting dropup actual-dropdown-menu prop-element" id="id_{{widget_name}}"
+ name="{{widget_name}}" aria-labelledby="{{widget_name}}_label">
+ <label for="{{widget_name}}" id="{{widget_name}}_label" class="inline-block">
+ {{ label }}
+ </label>
+ <button class="button small rounded dropdown-toggle" data-toggle="dropdown">
+ <span id="{{widget_name}}_name"></span>
+ <i class="fa fa-pencil"></i>
+ </button>
+ <ul class="dropdown-menu modal-bg" role="menu">
+ <li class="dropdown-search" role="presentation">
+ <input class="no-input-change-detection" type="text" role="menuitem" placeholder="{{list_placeholder}}" autofocus/>
+ </li>
+ <div class="dropdown-list-wrapper" data-simplebar>
+ <span class="dropdown-list-body"></span>
+ </div>
+ </ul>
+ </span>
<button class="button small dropdown_list_reset_button">
<a>{{reset_button_text}}</a>
</button>