line-clamp

This commit is contained in:
Metehan Celik 2021-12-22 12:53:09 +03:00
parent 2b02c6a7ac
commit 6c2a6c6d1c

View File

@ -74,10 +74,14 @@
font-size: 12px;
line-height: 18px;
margin-top: 0;
overflow: hidden;
-webkit-line-clamp: 2;
font-weight: normal;
}
.line-clamp {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.product-price-hb {
font-size: 24px;
@ -87,9 +91,6 @@
}
.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 */
}