Commit 19ff7610 authored by Aria Givi's avatar Aria Givi
Browse files

adjusted styles

parent 2207882a
/* Product tiles */
#product-tile-container {
display: flex;
flex-direction: row;
}
#product-results-iframe {
width: 100%;
height:210px;
......@@ -13,20 +7,35 @@
overflow: hidden;
}
#product-tile-container {
height: 210px;
display: flex;
flex-direction: row;
}
.product-tile {
max-width: 150px;
max-height: 200px;
// 5 product tiles
max-width: 20%;
max-height: 100%;
margin: 8px 0px;
padding: 0px 2px;
}
.product-tile-image {
width: 100%;
height: 50%;
text-align: center;
img {
max-width: 150px;
max-height: 100px;
max-width: 100%;
max-height: 100%;
}
}
.product-tile-header {
text-align: center;
}
.product-tile-title {
&>a {
text-decoration: none;
......
......@@ -13,17 +13,19 @@
</a>
</h2>
</div>
@if( isset($result->price) && $result->price != 0)
@if( isset($result->price) && $result->price != 0)
<div class="product-tile-priceline">
<span class="product-tile-price">
{!! $result->price_text !!}
</span>
@endif
</div>
@endif
<div class="product-tile-hostline">
<a class="product-tile-hoster" href="{{ $result->gefVonLink }}" target="{{ $metager->getNewtab() }}" rel="noopener" tabindex="-1">{{ trans('result.gefVon') . " " . $result->gefVon }} </a>
</div>
<div class="product-tile-subheadline">
<a class="product-tile-display-link" href="{{ $result->link }}" target="{{ $metager->getNewtab() }}" title="{{ $result->anzeigeLink }}" rel="noopener" tabindex="-1">
{!! strlen($result->anzeigeLink) <= 20? $result->anzeigeLink: substr($result->anzeigeLink, 0, 20) . "..." !!}
{!! strlen($result->anzeigeLink) <= 15? $result->anzeigeLink: substr($result->anzeigeLink, 0, 15) . "..." !!}
</a>
<!-- @if( isset($result->partnershop) && $result->partnershop === TRUE)
<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/partnershops") }}" target="_blank" rel="noopener">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment