From d63211976f21ef10fc7b6445a7c4e4644f3ed1a4 Mon Sep 17 00:00:00 2001 From: Sylvain UTARD Date: Mon, 7 Mar 2016 22:46:20 +0100 Subject: [PATCH] docs(search): improved header highlighting + fixed padding --- docs/css/_docsearch.scss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/css/_docsearch.scss b/docs/css/_docsearch.scss index 97fff440..d3398230 100644 --- a/docs/css/_docsearch.scss +++ b/docs/css/_docsearch.scss @@ -56,14 +56,13 @@ $dropdown-min-width-large: 600px; // Highlight .algolia-docsearch-suggestion--highlight { - padding: 0; color: #40ADDC; - padding: 0 2px; background: rgba(#40ADDC,.1); + // Highlight the background in header .algolia-docsearch-suggestion--category-header & { color: inherit; - background: $color-highlight-header-background; + background: rgba(#40ADDC,.2); } }