Generate plain previews for plain text editor
This commit is contained in:
@@ -138,7 +138,7 @@
|
||||
text-overflow: ellipsis;
|
||||
|
||||
$line-height: 18px;
|
||||
.default-preview {
|
||||
.default-preview, .plain-preview {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 1; /* number of lines to show */
|
||||
@@ -146,11 +146,6 @@
|
||||
max-height: calc(#{$line-height} * 1); /* fallback */
|
||||
}
|
||||
|
||||
.plain-preview {
|
||||
line-height: 19px;
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
.html-preview {
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
|
||||
Reference in New Issue
Block a user