mirror of https://github.com/zulip/zulip.git
dropdown_widget_label: Add wrapper around `dropdown_widget`.
This commit adds a wrapper around the "dropdown_widget" of "dropdown_widget_label". This wrapper is primarily added so as to be able to show tippy tooltips over the dropdowns in case they are disabled, since we can not assign tippy instances to disabled buttons.
This commit is contained in:
parent
e746c8899b
commit
fc5a5c7113
|
@ -1144,6 +1144,10 @@ div.overlay {
|
|||
}
|
||||
}
|
||||
|
||||
.dropdown_widget_with_label_wrapper {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
.dropdown-current-value-not-in-options,
|
||||
.setting-disabled-option {
|
||||
color: hsl(38deg 46% 54%);
|
||||
|
|
|
@ -1069,6 +1069,11 @@ div.settings-radio-input-parent {
|
|||
}
|
||||
}
|
||||
|
||||
.group-permissions .dropdown_widget_with_label_wrapper {
|
||||
display: inline-block;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
#stream-advanced-configurations {
|
||||
.dropdown-widget-button {
|
||||
color: hsl(0deg 0% 33%);
|
||||
|
|
|
@ -3,5 +3,7 @@
|
|||
{{#if help_link}}{{> help_link_widget link=help_link }}{{/if}}
|
||||
</label>
|
||||
<span class="prop-element hide" id="id_{{widget_name}}" data-setting-widget-type="dropdown-list-widget" {{#if value_type}}data-setting-value-type="{{value_type}}"{{/if}}></span>
|
||||
{{> dropdown_widget}}
|
||||
<div class="dropdown_widget_with_label_wrapper">
|
||||
{{> dropdown_widget}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue