Extensions list: sort_by parameter #159

Merged
Márton Lente merged 36 commits from filter-sort into main 2024-06-03 12:57:45 +02:00
2 changed files with 46 additions and 49 deletions
Showing only changes of commit 792d8fd6e5 - Show all commits

View File

@ -10,10 +10,6 @@
display: flex
+padding(2)
.dropdown-item,
.dropdown-toggle
white-space: nowrap
+media-md
.dropdown-menu-filter
gap: var(--spacer-1)

View File

@ -21,9 +21,9 @@
</h2>
{% endif %}
<div class="d-flex">
{% if tags %}
<div class="dropdown dropdown-filter-sort me-2">
<div class="d-flex flex-column flex-md-row me-2">
<div class="dropdown dropdown-filter-sort">
<button class="align-items-center d-flex dropdown-toggle js-dropdown-toggle" data-toggle-menu-id="js-dropdown-menu-filter">
{% if tag %}
{{ tag.name }}
@ -66,7 +66,9 @@
{% endfor %}
</ul>
</div>
</div>
{% endif %}
<div class="dropdown dropdown-filter-sort">
<button class="dropdown-toggle js-dropdown-toggle" data-toggle-menu-id="js-dropdown-menu-sort">
Sort by <i class="i-chevron-down"></i>
@ -111,7 +113,6 @@
</div>
</div>
</div>
</div>
{% else %}
{% if author %}
<h2>{% blocktranslate %}Extensions by{% endblocktranslate %} <em class="search-highlight">{{ author }}</em></h2>