mirror of
https://github.com/snachodog/just-the-docs.git
synced 2026-06-04 04:47:14 -06:00
Multi search match highlight
Added multiple previews, configurable by site.search.previews Improved search-data.json
This commit is contained in:
+5
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user