mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: customise themes/components CSS (#25127)
Previous PR removed overflow-y CSS parameter which was required: https://github.com/discourse/discourse/pull/25105/files#diff-eae50f20f62ec6d720f9a100ccdef41622588c724bc68f6027ae13e2661bd3c4L249 Overflow is conflicting with select-kit so both search and filter were moved out of `themes-list-container`
This commit is contained in:
committed by
GitHub
parent
be841e666e
commit
7b81c39a8b
@@ -16,29 +16,29 @@
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div class="themes-list-container">
|
||||
{{#if this.showSearch}}
|
||||
<div class="themes-list-container__search themes-list-container__item">
|
||||
<Input
|
||||
class="themes-list-container__search-input"
|
||||
placeholder={{i18n "admin.customize.theme.search_placeholder"}}
|
||||
autocomplete="off"
|
||||
@type="search"
|
||||
@value={{mut this.searchTerm}}
|
||||
/>
|
||||
{{d-icon "search"}}
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="themes-list-container__filter themes-list-container__item">
|
||||
<div class="themes-list-container__filter-label">
|
||||
{{i18n "admin.customize.theme.filter_by"}}
|
||||
</div>
|
||||
<ComboBox
|
||||
@content={{this.selectableFilters}}
|
||||
@value={{this.filter}}
|
||||
@class="themes-list-container__filter-input"
|
||||
{{#if this.showSearch}}
|
||||
<div class="themes-list-search">
|
||||
<Input
|
||||
class="themes-list-search__input"
|
||||
placeholder={{i18n "admin.customize.theme.search_placeholder"}}
|
||||
autocomplete="off"
|
||||
@type="search"
|
||||
@value={{mut this.searchTerm}}
|
||||
/>
|
||||
{{d-icon "search"}}
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="themes-list-filter">
|
||||
<div class="themes-list-filter__label">
|
||||
{{i18n "admin.customize.theme.filter_by"}}
|
||||
</div>
|
||||
<ComboBox
|
||||
@content={{this.selectableFilters}}
|
||||
@value={{this.filter}}
|
||||
@class="themes-list-filter__input"
|
||||
/>
|
||||
</div>
|
||||
<div class="themes-list-container">
|
||||
{{#if this.hasThemes}}
|
||||
{{#if (and this.hasActiveThemes (not this.inactiveFilter))}}
|
||||
{{#each this.activeThemes as |theme|}}
|
||||
|
||||
Reference in New Issue
Block a user