Multi search match highlight

Added multiple previews, configurable by site.search.previews
Improved search-data.json
This commit is contained in:
Silvio Giebl
2020-01-02 11:55:38 +01:00
parent 74681aeb21
commit f1c306c814
5 changed files with 136 additions and 63 deletions

View File

@@ -183,7 +183,7 @@
@include fs-1;
}
.search-result-preview {
.search-result-previews {
display: block;
padding-top: $sp-2;
padding-bottom: $sp-2;
@@ -203,6 +203,10 @@
}
}
.search-result-preview + .search-result-preview {
margin-top: $sp-1;
}
.search-result-highlight {
font-weight: bold;
}