forked from brooksbingham/theme-elegance
fix: centered the text of each filter and updated the paddings and margins
parent
202a4a0a38
commit
e707255653
|
@ -78,14 +78,14 @@
|
|||
</button>
|
||||
</h3>
|
||||
<!-- Filter section, show/hide based on section state. -->
|
||||
<div class="th-accordion-item-content pt-6 px-4 hidden" id="filter-section-{$facet.label}" data-filter-name="{$facet.label}">
|
||||
<div class="th-accordion-item-content pt-6 hidden" id="filter-section-{$facet.label}" data-filter-name="{$facet.label}">
|
||||
<div class="flex flex-wrap w-full">
|
||||
{foreach from=$facet.filters item="filter"}
|
||||
{if !$filter.active}
|
||||
<a
|
||||
rel="nofollow"
|
||||
href="{$filter.nextEncodedFacetsURL}"
|
||||
class="select-list text-sm w-1/4 mb-4"
|
||||
class="select-list text-sm w-1/2 p-2 text-center"
|
||||
>
|
||||
{$filter.label}
|
||||
</a>
|
||||
|
|
Loading…
Reference in New Issue