HTML previews

This commit is contained in:
Mo Bitar
2018-10-17 13:42:24 -05:00
parent 8a537b86df
commit 87485584ec
9 changed files with 788 additions and 15 deletions

View File

@@ -135,12 +135,25 @@
margin-top: 1px;
overflow: hidden;
text-overflow: ellipsis;
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 */
.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 */
}
.html-preview {
margin-top: 4px;
}
}
.preview-hidden {
font-size: 14px;
margin-top: 2px;
opacity: 0.6;
}
&.selected {