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:
roanster007 2024-07-23 01:11:59 +05:30 committed by Tim Abbott
parent e746c8899b
commit fc5a5c7113
3 changed files with 12 additions and 1 deletions

View File

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

View File

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

View File

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