Skip to content

Node.js based forum software built for the modern web

fix bottom margin of p tags in line-clamp

Barış Soner Uşaklıbfb45045f667
diff --git a/public/scss/mixins.scss b/public/scss/mixins.scss
index 673b8081fa..c38a4d13b3 100644
--- a/public/scss/mixins.scss
+++ b/public/scss/mixins.scss
@@ -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 {