mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
Adds `sticky_bottom_option` element to the `dropdown_widget` to support moving of "Add a new saved snippet" button to the bottom sticky area of the dropdown for better accessibility and UX.
17 lines
743 B
Handlebars
17 lines
743 B
Handlebars
<div class="dropdown-list-container {{widget_name}}-dropdown-list-container">
|
|
<div class="dropdown-list-search popover-filter-input-wrapper">
|
|
<input class="dropdown-list-search-input popover-filter-input filter_text_input{{#if hide_search_box}} hide{{/if}}" type="text" placeholder="{{t 'Filter' }}" autofocus/>
|
|
</div>
|
|
<div class="dropdown-list-wrapper" data-simplebar data-simplebar-tab-index="-1">
|
|
<ul class="dropdown-list"></ul>
|
|
</div>
|
|
<div class="no-dropdown-items dropdown-list-item-common-styles">
|
|
{{t 'No matching results'}}
|
|
</div>
|
|
{{#if sticky_bottom_option}}
|
|
<button class="button rounded sticky-bottom-option">
|
|
{{sticky_bottom_option}}
|
|
</button>
|
|
{{/if}}
|
|
</div>
|