Merge pull request #1250 from openclassify/metehancelik

Metehancelik
This commit is contained in:
Fatih Alp 2021-12-22 15:50:34 +03:00 committed by GitHub
commit 912895924d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 12 deletions

View File

@ -11,7 +11,7 @@
{% for adv in advs %}
<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 }}
<div class="product-image-hb">
<a href="{{ adv.detail_url }}">
@ -19,14 +19,14 @@
</a>
</div>
<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 }}
</a>
{% 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 %}
{% 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') }}
</div>
{% endif %}

View File

@ -38,7 +38,7 @@
Droid Sans,
Helvetica Neue,
sans-serif !important;
height: 315px;
height: 500px;
margin-bottom: 20px;
}
@ -58,28 +58,39 @@
.product-image-hb {
display: flex;
justify-content: center;
height: 190px;
width:100%;
height: 500px;
padding: 10px;
}
.product-image-in {
width: 100%;
height: 100%;
object-fit: contain;
object-fit:cover;
border-radius: 6px;
}
.product-name-hb {
font-size: 12px;
line-height: 18px;
margin-bottom: 4px;
margin-top: 0;
overflow: hidden;
-webkit-line-clamp: 2;
height: 36px;
font-weight: normal;
}
.line-clamp {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.product-price-hb {
font-size: 18px;
font-size: 24px;
font-weight:bolder;
background-color: rgb(244,244,244);
height: 50px;
}
.fs-14{
font-size: 14px;
}