fix: centered the text of each filter and updated the paddings and margins

pagebuilder
Tejas Chari 2023-11-22 13:29:07 +05:30
parent 202a4a0a38
commit e707255653
1 changed files with 2 additions and 2 deletions

View File

@ -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>