Merge pull request #1258 from openclassify/image-view-fix

Image view fix
This commit is contained in:
metehancelik 2022-01-13 10:03:25 +03:00 committed by GitHub
commit 651dd8fffa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 48 additions and 3 deletions

View File

@ -156,6 +156,7 @@ return [
'phone_gsm' => 'Gsm Phone',
'phone_office' => 'Office Phone',
'add_to_favorites' => "Add to Favorites",
'add_to_cart'=> "Add to Cart",
'send' => 'Send',
'search_name' => 'Search Name',
'my_favorite_searches' => 'Favorite Searches',

View File

@ -156,6 +156,7 @@ return [
'phone_gsm' => 'Cep Telefonu',
'phone_office' => 'Sabit telefon',
'add_to_favorites' => "Favorilere Ekle",
'add_to_cart'=> "Sepete Ekle",
'send' => 'Gönder',
'search_name' => 'Arama Adı',
'my_favorite_searches' => 'Favori Aramalar',

View File

@ -34,12 +34,14 @@
</a>
{% if not setting_value('visiosoft.module.advs::hide_ad_cat') %}
<a href="{{ adv.detail_url }}" class="product-name-hb text-truncate text-decoration-none text-dark">{{ adv.cat1_name }} /{{ adv.cat2_name }}</a>
{% endif %}
{% if showPrice %}
<div class="product-price-hb rounded d-flex align-items-center px-lg-3 px-2 mt-2 text-dark justify-content-between">
<div class="product-price-hb rounded d-flex align-items-center mt-2 bg-secondary-md bg-none text-dark justify-content-between">
{{ adv.price != '0' ? currency_format(adv.price,adv.currency) : trans('visiosoft.module.advs::field.free') }}
{{ addBlock('list/extra-actions', {'ad': adv, 'vars': _context}, ['comparisons'])|raw }}
</div>
{% endif %}
</div>
</div>

View File

@ -67,7 +67,7 @@
{{ addBlock('ads-list/row',{'topfields':topfields,'selectRange':selectRange,'advs':advs, 'mainCats':mainCats|length})|raw }}
<div id="listingWrapper" class="border rounded p-3">
<div id="listingWrapper" class="rounded p-s-3 p-0">
{% block listContent %}
{% include "visiosoft.module.advs::list/partials/ads" %}
{% endblock %}

View File

@ -47,12 +47,53 @@
.product-price-hb {
font-size: 24px;
font-weight:bolder;
background-color: rgb(244,244,244);
height: 50px;
}
@media screen and (max-width: 766px) {
.product-price-hb {
font-size: 24px;
font-weight:bolder;
height: 50px;
}
.product-info-hb>button{
position: inherit !important;
width: 100%;
}
#listingWrapper{
border:none !important;
}
.product-hb{
border:none !important;
box-shadow: none !important;
}
.review{
height: auto;
}
.review>p{
display: none;
}
}
.fs-14{
font-size: 14px;
}
.product-price-hb~p{
font-size:.7em;
}
.review{
height: 32px;
}
.gallery-card:hover>.product-info-hb>.review>button{
display:block !important;
}
.gallery-card:hover>.product-info-hb>.review>p{
display: none;
.imgs{
position: relative;
}