Skip to content

Commit

Permalink
Оптимизации мобильной версии
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Aug 22, 2022
1 parent 8dba7b5 commit df19e54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/widgets/TreeMenuCmsWidget/sub-catalog-small.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<a data-pjax="0" href="<?= $model->url; ?>" class="shop-item-image">
<img src="<?= \skeeks\cms\helpers\Image::getSrc(\Yii::$app->imaging->thumbnailUrlOnRequest($model->mainImage ? $model->mainImage->src : null,
new \skeeks\cms\components\imaging\filters\Thumbnail([
'w' => 120,
'h' => 120,
'w' => 200,
'h' => 200,
'm' => \Imagine\Image\ManipulatorInterface::THUMBNAIL_INSET,
]), $model->code
)); ?>
Expand Down

0 comments on commit df19e54

Please sign in to comment.