Skip to content

Commit

Permalink
Improve breeze compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
vovayatsyuk committed Nov 23, 2023
1 parent cb3165e commit 12207b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions view/frontend/templates/list.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"hide_when_filter_is_used": <?= (int) $this->getHideWhenFilterIsUsed() ?>
}
}'>
<ul class="<?= $block->getCssClassName() ?>" data-mode="<?= $mode ?>" data-cols="<?= $columnsCount ?>">
<ul class="unstyled <?= $block->getCssClassName() ?>" data-mode="<?= $mode ?>" data-cols="<?= $columnsCount ?>">
<?php foreach ($_categories as $_category) : ?>
<?php if ($i++ >= $maxCategoryCount): break; endif; ?>
<li class="item">
Expand Down Expand Up @@ -80,7 +80,7 @@
// display More link, if more than one subcategory is not shown, otherwise - display last category
$_displayMoreLink = $_count > $maxSubcategoryCount + 1;
if ($_count) : ?>
<ul class="list-subcategories">
<ul class="unstyled list-subcategories">
<?php foreach ($_subcategories as $_subcategory) :
if ($_displayMoreLink && ($j > $maxSubcategoryCount - 1)): ?>
<li>
Expand Down

0 comments on commit 12207b7

Please sign in to comment.