Enable HTML in note tags and support highlighting

This commit is contained in:
Ben McMorran
2015-05-13 13:46:44 +00:00
parent 161d89a723
commit 6ed752e5de
3 changed files with 10 additions and 1 deletions

View File

@@ -233,6 +233,13 @@ $divider-visual-tertiary: ($baseline/20) solid $gray-l4;
color: $m-gray-d2;
}
// CASE: tag matches a search query
.reference-meta.reference-tags .note-highlight {
// needed because .note-highlight is a span, which overrides the color
@extend %shame-link-text;
background-color: $result-highlight-color-base;
}
// Put commas between tags.
a.reference-meta.reference-tags:after {
content: ",";