Skip to content

Commit

Permalink
Merge pull request #77 from algolia/fix/padding+highlighting
Browse files Browse the repository at this point in the history
docs(search): improved header highlighting + fixed padding
  • Loading branch information
redox authored and Shipow committed Mar 11, 2016
1 parent 6d8eb34 commit bb65f02
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/css/_docsearch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit bb65f02

Please sign in to comment.