Plain preview styles

This commit is contained in:
Mo Bitar
2018-10-23 12:07:13 -05:00
parent 56f8bbc144
commit b11b7b9076
2 changed files with 6 additions and 2 deletions

View File

@@ -136,15 +136,20 @@
overflow: hidden;
text-overflow: ellipsis;
$line-height: 18px;
.default-preview {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1; /* number of lines to show */
$line-height: 18px;
line-height: $line-height; /* fallback */
max-height: calc(#{$line-height} * 1); /* fallback */
}
.plain-preview {
line-height: 19px;
margin-top: 1px;
}
.html-preview {
margin-top: 4px;
margin-bottom: 4px;