Skip to content

Commit

Permalink
fix(bazar): better grid column size
Browse files Browse the repository at this point in the history
  • Loading branch information
mrflos committed Dec 10, 2024
1 parent 851b727 commit 86d93f3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{% set firstTokenCrop = csrfToken("POST api/images/cache/#{imWidth}/#{imHeight}/fit") %}
<div class="bazar-cards-container" v-if="ready"
:class="[{ready: ready}, `style-${params.style || 'vertical'}`, `nbcol-{{nbcol}}`]"
:style="{'grid-template-columns': `repeat({{nbcol}}, 1fr)`}">
:style="{'grid-template-columns': `repeat({{nbcol}}, minmax(0, 1fr))`}">

<div v-if="entriesToDisplay.length == 0" class="alert alert-info">
{{ _t('BAZ_NO_RESULT') }}
Expand Down Expand Up @@ -79,4 +79,4 @@
<spinner-loader v-if="isLoading" class="overlay"></spinner-loader>
</div>
<spinner-loader v-else height="500"></spinner-loader>
{% endblock %}
{% endblock %}

0 comments on commit 86d93f3

Please sign in to comment.