1
0
Fork 0

handle <code>

This commit is contained in:
Maxime Locqueville 2016-07-22 15:52:29 +02:00
parent ab2be2181f
commit 7a6b36725e

View file

@ -107,7 +107,8 @@
$include-desc: true,
$background-category-header: #FFFFFF,
$highlight-opacity: .1,
$highlight-type: 'underline'
$highlight-type: 'underline',
$code-background: #EBEBEB
){
$header-size: 1em;
@ -138,7 +139,6 @@
right: 48px;
}
}
&.algolia-autocomplete-left .ds-dropdown-menu{
@include alignment-type(left);
&:before {
@ -350,6 +350,19 @@
}
}
code {
padding: 1px 5px;
font-size: 90%;
border: none;
color: #222222;
background-color: $code-background;
border-radius: 3px;
font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
.algolia-docsearch-suggestion--highlight {
background: none;
}
}
// Rules to display categories and subcategories
&.algolia-docsearch-suggestion__main .algolia-docsearch-suggestion--category-header {
display: block;