mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
21.12.21 gallery image resize
This commit is contained in:
parent
992e04f926
commit
38d477ecc7
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
{% for adv in advs %}
|
{% for adv in advs %}
|
||||||
<div class="col-xl-4 col-lg-6">
|
<div class="col-xl-4 col-lg-6">
|
||||||
<div class="d-flex flex-column product-hb border shadow-sm rounded">
|
<div class="d-flex flex-column product-hb gallery-card pb-3 px-1 border shadow-sm rounded">
|
||||||
{{ addBlock('list/extra-actions', {'ad': adv, 'vars': _context}, ['favs', 'comparisons'])|raw }}
|
{{ addBlock('list/extra-actions', {'ad': adv, 'vars': _context}, ['favs', 'comparisons'])|raw }}
|
||||||
<div class="product-image-hb">
|
<div class="product-image-hb">
|
||||||
<a href="{{ adv.detail_url }}">
|
<a href="{{ adv.detail_url }}">
|
||||||
@ -19,14 +19,14 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="product-info-hb d-flex flex-column px-lg-3 px-2 mt-3">
|
<div class="product-info-hb d-flex flex-column px-lg-3 px-2 mt-3">
|
||||||
<a href="{{ adv.detail_url }}" class="product-name-hb text-dark">
|
<a href="{{ adv.detail_url }}" class="product-name-hb px-lg-3 px-2 text-dark">
|
||||||
{{ adv.name }}
|
{{ adv.name }}
|
||||||
</a>
|
</a>
|
||||||
{% if not setting_value('visiosoft.module.advs::hide_ad_cat') %}
|
{% if not setting_value('visiosoft.module.advs::hide_ad_cat') %}
|
||||||
<a href="{{ adv.detail_url }}" class="product-name-hb text-dark">{{ adv.cat1_name }} /{{ adv.cat2_name }}</a>
|
<a href="{{ adv.detail_url }}" class="product-name-hb px-lg-3 px-2 text-dark">{{ adv.cat1_name }} /{{ adv.cat2_name }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if showPrice %}
|
{% if showPrice %}
|
||||||
<div class="product-price-hb font-weight-bold mt-2 text-dark">
|
<div class="product-price-hb font-weight-bold px-lg-3 px-2 mt-2 text-dark">
|
||||||
{{ adv.price != '0' ? currency_format(adv.price,adv.currency) : trans('visiosoft.module.advs::field.free') }}
|
{{ adv.price != '0' ? currency_format(adv.price,adv.currency) : trans('visiosoft.module.advs::field.free') }}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@ -38,7 +38,7 @@
|
|||||||
Droid Sans,
|
Droid Sans,
|
||||||
Helvetica Neue,
|
Helvetica Neue,
|
||||||
sans-serif !important;
|
sans-serif !important;
|
||||||
height: 315px;
|
height: 500px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -58,13 +58,14 @@
|
|||||||
.product-image-hb {
|
.product-image-hb {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
height: 190px;
|
width:100%;
|
||||||
|
height: 500px;
|
||||||
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.product-image-in {
|
.product-image-in {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: contain;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.product-name-hb {
|
.product-name-hb {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user