themes/tella/layouts/products/summary.html aktualisiert
All checks were successful
Website / Website veröffentlichen (push) Successful in 5s
All checks were successful
Website / Website veröffentlichen (push) Successful in 5s
This commit is contained in:
@@ -6,12 +6,18 @@
|
|||||||
margin-top: 2%;
|
margin-top: 2%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.product-image-custom {
|
.product-image-custom img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.product-image-custom img {
|
||||||
|
width: 100%;
|
||||||
|
height: 220px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<a href="{{ .Permalink }}" class="transform hover:-translate-y-1 hover:shadow-md duration-500">
|
<a href="{{ .Permalink }}" class="transform hover:-translate-y-1 hover:shadow-md duration-500">
|
||||||
@@ -19,7 +25,9 @@
|
|||||||
<h2 class="text-3xl title-product-summary text-white-custom">
|
<h2 class="text-3xl title-product-summary text-white-custom">
|
||||||
{{ .Title }}
|
{{ .Title }}
|
||||||
</h2>
|
</h2>
|
||||||
<img src="{{ .Params.image | relURL }}" alt="-product-image-" class="product-image-custom">
|
<div class="product-image-custom">
|
||||||
|
<img src="{{ .Params.image | relURL }}" alt="-product-image-">
|
||||||
|
</div>
|
||||||
<p class="description-product-summary text-white-custom">{{ .Description }}</p>
|
<p class="description-product-summary text-white-custom">{{ .Description }}</p>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user