mirror of https://github.com/zulip/zulip.git
edit_bot: Fixed dropdown username capitalization.
Restructured edit_bot to unwrap label tag from the control group, hence defaulting to original text size.
This commit is contained in:
parent
f1eda37836
commit
ea02d48e81
|
@ -849,13 +849,18 @@ input[type="checkbox"] {
|
|||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
label {
|
||||
label,
|
||||
button.dropdown-toggle {
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
color: hsl(0, 0%, 67%);
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
button.dropdown-toggle {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.buttons {
|
||||
margin: 10px 0 5px 0;
|
||||
}
|
||||
|
|
|
@ -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">
|
||||
<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>
|
||||
|
|
Loading…
Reference in New Issue