handle <code>
This commit is contained in:
parent
ab2be2181f
commit
7a6b36725e
1 changed files with 15 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue