mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-28 01:21:13 +01:00
fix bottom margin of p tags in line-clamp
base on line-height
This commit is contained in:
@@ -96,6 +96,9 @@
|
||||
-webkit-line-clamp: $lines;
|
||||
white-space: initial;
|
||||
max-height: calc($line-height * $lines);
|
||||
> p {
|
||||
margin-bottom: $line-height;
|
||||
}
|
||||
}
|
||||
|
||||
@for $i from 1 through 6 {
|
||||
|
||||
Reference in New Issue
Block a user