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>
|
</button>
|
||||||
</h3>
|
</h3>
|
||||||
<!-- Filter section, show/hide based on section state. -->
|
<!-- 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">
|
<div class="flex flex-wrap w-full">
|
||||||
{foreach from=$facet.filters item="filter"}
|
{foreach from=$facet.filters item="filter"}
|
||||||
{if !$filter.active}
|
{if !$filter.active}
|
||||||
<a
|
<a
|
||||||
rel="nofollow"
|
rel="nofollow"
|
||||||
href="{$filter.nextEncodedFacetsURL}"
|
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}
|
{$filter.label}
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in New Issue