mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
gallery-card resize
This commit is contained in:
parent
38d477ecc7
commit
2b02c6a7ac
@ -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 */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user