[Tech] Restrict article height using max-height
margin-bottom: 5px;
overflow: hidden;
text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 3; /* number of lines to show */
- line-clamp: 3;
- -webkit-box-orient: vertical;
+ display: block;
+ max-height: 5.4em;
+ line-height: 1.8em;
}
+
}
