Extensions list: sort_by parameter #159
@ -1,6 +1,10 @@
|
||||
.dropdown-toggle
|
||||
height: calc(var(--spacer) * 2)
|
||||
|
||||
.dropdown-menu-filter-sort
|
||||
max-height: calc(var(--spacer) * 28)
|
||||
overflow: auto
|
||||
|
||||
.navbar-search
|
||||
input
|
||||
min-width: calc(var(--spacer) * 4)
|
||||
|
@ -21,7 +21,7 @@
|
||||
{% if tags %}
|
||||
<div class="d-flex flex-column flex-md-row">
|
||||
<div class="box dropdown me-md-3 p-2 rounded-2">
|
||||
<button class="align-items-center d-flex dropdown-toggle js-dropdown-toggle" data-toggle-menu-id="js-dropdown-filter">
|
||||
<button class="align-items-center d-flex dropdown-toggle js-dropdown-toggle" data-toggle-menu-id="js-dropdown-menu-filter">
|
||||
{% if tag %}
|
||||
{{ tag.name }}
|
||||
{# TODO: @back-end add tags count dynamic #}
|
||||
@ -38,7 +38,7 @@
|
||||
|
||||
<i class="i-chevron-down"></i>
|
||||
</button>
|
||||
<ul class="dropdown-menu dropdown-menu-right js-dropdown-menu" id="js-dropdown-filter">
|
||||
<ul class="dropdown-menu dropdown-menu-filter-sort dropdown-menu-right js-dropdown-menu" id="js-dropdown-menu-filter">
|
||||
<li>
|
||||
{% if tag %}
|
||||
{# If tag is active, show button 'All'. #}
|
||||
@ -66,10 +66,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="box dropdown p-2 rounded-2">
|
||||
<button class="dropdown-toggle js-dropdown-toggle" data-toggle-menu-id="js-dropdown-sort">
|
||||
<button class="dropdown-toggle js-dropdown-toggle" data-toggle-menu-id="js-dropdown-menu-sort">
|
||||
Sort by <i class="i-chevron-down"></i>
|
||||
</button>
|
||||
<ul class="dropdown-menu dropdown-menu-right js-dropdown-menu" id="js-dropdown-sort">
|
||||
<ul class="dropdown-menu dropdown-menu-filter-sort dropdown-menu-right js-dropdown-menu" id="js-dropdown-menu-sort">
|
||||
<li>
|
||||
<a class="dropdown-item" href="#">
|
||||
Newest First
|
||||
|
Loading…
Reference in New Issue
Block a user