gallery-card resize

This commit is contained in:
Metehan Celik 2021-12-22 11:10:47 +03:00
parent 38d477ecc7
commit 2b02c6a7ac

View File

@ -66,21 +66,30 @@
.product-image-in { .product-image-in {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit:cover;
border-radius: 6px;
} }
.product-name-hb { .product-name-hb {
font-size: 12px; font-size: 12px;
line-height: 18px; line-height: 18px;
margin-bottom: 4px;
margin-top: 0; margin-top: 0;
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
height: 36px;
font-weight: normal; font-weight: normal;
} }
.product-price-hb { .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;
line-height: 1.5em;
height: 3em; /* height is 2x line-height, so two lines will display */
overflow: hidden; /* prevents extra lines from being visible */
} }