mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
line-clamp
This commit is contained in:
parent
2b02c6a7ac
commit
6c2a6c6d1c
@ -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 */
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user