fix bottom margin of p tags in line-clamp

base on line-height
This commit is contained in:
Barış Soner Uşaklı
2023-04-13 16:37:07 -04:00
parent 445a475292
commit bfb45045f6

View File

@@ -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 {