themes/tella/layouts/products/summary.html aktualisiert
All checks were successful
Website / Website veröffentlichen (push) Successful in 5s

This commit is contained in:
2026-01-18 15:37:23 +01:00
parent 0decce6035
commit e5da468182

View File

@@ -6,12 +6,18 @@
margin-top: 2%;
}
.product-image-custom {
.product-image-custom img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.product-image-custom img {
width: 100%;
height: 220px;
overflow: hidden;
}
</style>
<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">
{{ .Title }}
</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>
</div>
</a>